/*!
 * Copyright (C) Microsoft Corporation. All rights reserved.
 */
import type { DataSourcesInfo, IOperationResult } from '../types';
/**
 * Downloads binary data from a file column of an existing record (maximum size 128 MB).
 * Returns the file contents as binary.
 * This API is intended for use with file/image columns in Dataverse, and will not work with other column types.
 * For file columns in Dataverse, the recordId is the ID of the Dataverse record, and the tableName is the logical name of the Dataverse table.
 * See documentation for more details:
 * https://learn.microsoft.com/en-us/power-apps/developer/data-platform/file-column-data?tabs=webapi#download-a-file-in-a-single-request-using-web-api
 * @param dataSourcesInfo - The data sources information.
 * @param tableName - The name of the table to download the file from.
 * @param recordId - The ID of the record to download from.
 * @param columnName - The name of the file column to download from.
 * @returns - A promise that resolves to an operation result with the file contents as binary.
 * @private
 */
export declare function downloadFileFromRecord(dataSourcesInfo: DataSourcesInfo, tableName: string, recordId: string, columnName: string): Promise<IOperationResult<Uint8Array>>;
//# sourceMappingURL=downloadFileFromRecord.d.ts.map