import type { ArcGISIdentityManager } from "@esri/arcgis-rest-request"; import { DownloadFormat } from "./download-format"; import { DownloadTarget } from "./download-target"; export interface IDatasetExportRequestParams { target?: DownloadTarget; host?: string; datasetId: string; format: DownloadFormat; spatialRefId?: string; geometry?: string; where?: string; authentication?: ArcGISIdentityManager; title?: string; } export interface IDatasetExportResult { downloadId: string; jobId?: string; exportCreated?: number; size?: number; } /** * ```js * import { requestDatasetExport } from "@esri/hub-downloads"; * * Request an export of a dataset to a particular file format. * @param params - parameters defining a dataset export job */ export declare function requestDatasetExport(params: IDatasetExportRequestParams): Promise;