/*!
 * Copyright (C) Microsoft Corporation. All rights reserved.
 */
import { getPowerSdkInstance } from '../runtime/getRuntimeContext';
/**
 * Deletes the file or image data stored in a file/image column of an existing record.
 * Sends a DELETE request to `/<tableName>(<recordId>)/<columnName>`.
 * This API is intended for use with file and image columns in Dataverse.
 * @param dataSourcesInfo - The data sources information.
 * @param tableName - The logical name of the Dataverse table.
 * @param recordId - The identifier of the record.
 * @param columnName - The name of the file or image column whose data should be deleted.
 * @returns - A promise that resolves to an operation result.
 * @private
 */
export async function deleteFileOrImageFromRecord(dataSourcesInfo, tableName, recordId, columnName) {
    return await (await getPowerSdkInstance(dataSourcesInfo)).Data.deleteFileOrImageFromRecord(tableName, recordId, columnName);
}
//# sourceMappingURL=deleteFileOrImageFromRecord.js.map