/*!
 * Copyright (C) Microsoft Corporation. All rights reserved.
 */
import { getPowerSdkInstance } from '../runtime/getRuntimeContext';
/**
 * Updates an existing record in the specified table.
 * @param dataSourcesInfo - The data sources information.
 * @param tableName - The name of the table to create the record in.
 * @param recordId - The ID of the record to update.
 * @param changes - The changes to apply to the record.
 * @returns - A promise that resolves to the created record.
 * @private
 */
export async function updateRecordAsync(dataSourcesInfo, tableName, recordId, changes) {
    return await (await getPowerSdkInstance(dataSourcesInfo)).Data.updateRecordAsync(tableName, recordId, changes);
}
//# sourceMappingURL=updateRecord.js.map