import type { DatasetUploadInternalOptions, AIProjectContext as Client } from "../index.js"; import type { _PagedDatasetVersion, DatasetVersionUnion, PendingUploadRequest, PendingUploadResponse, DatasetCredential } from "../../models/models.js"; import type { PagedAsyncIterableIterator } from "@azure/core-paging"; import type { DatasetsGetCredentialsOptionalParams, DatasetsPendingUploadOptionalParams, DatasetsCreateOrUpdateOptionalParams, DatasetsDeleteOptionalParams, DatasetsGetOptionalParams, DatasetsListOptionalParams, DatasetsListVersionsOptionalParams } from "./options.js"; import type { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client"; export declare function _getCredentialsSend(context: Client, name: string, version: string, options?: DatasetsGetCredentialsOptionalParams): StreamableMethod; export declare function _getCredentialsDeserialize(result: PathUncheckedResponse): Promise; /** Get the SAS credential to access the storage account associated with a Dataset version. */ export declare function getCredentials(context: Client, name: string, version: string, options?: DatasetsGetCredentialsOptionalParams): Promise; export declare function _pendingUploadSend(context: Client, name: string, version: string, pendingUploadRequest: PendingUploadRequest, options?: DatasetsPendingUploadOptionalParams): StreamableMethod; export declare function _pendingUploadDeserialize(result: PathUncheckedResponse): Promise; /** Start a new or get an existing pending upload of a dataset for a specific version. */ export declare function pendingUpload(context: Client, name: string, version: string, pendingUploadRequest: PendingUploadRequest, options?: DatasetsPendingUploadOptionalParams): Promise; export declare function _createOrUpdateSend(context: Client, name: string, version: string, datasetVersion: DatasetVersionUnion, options?: DatasetsCreateOrUpdateOptionalParams): StreamableMethod; export declare function _createOrUpdateDeserialize(result: PathUncheckedResponse): Promise; /** Create a new or update an existing DatasetVersion with the given version id */ export declare function createOrUpdate(context: Client, name: string, version: string, datasetVersion: DatasetVersionUnion, options?: DatasetsCreateOrUpdateOptionalParams): Promise; export declare function _$deleteSend(context: Client, name: string, version: string, options?: DatasetsDeleteOptionalParams): StreamableMethod; export declare function _$deleteDeserialize(result: PathUncheckedResponse): Promise; /** Delete the specific version of the DatasetVersion. The service returns 204 No Content if the DatasetVersion was deleted successfully or if the DatasetVersion does not exist. */ export declare function $delete(context: Client, name: string, version: string, options?: DatasetsDeleteOptionalParams): Promise; export declare function _getSend(context: Client, name: string, version: string, options?: DatasetsGetOptionalParams): StreamableMethod; export declare function _getDeserialize(result: PathUncheckedResponse): Promise; /** Get the specific version of the DatasetVersion. The service returns 404 Not Found error if the DatasetVersion does not exist. */ export declare function get(context: Client, name: string, version: string, options?: DatasetsGetOptionalParams): Promise; export declare function _listSend(context: Client, options?: DatasetsListOptionalParams): StreamableMethod; export declare function _listDeserialize(result: PathUncheckedResponse): Promise<_PagedDatasetVersion>; /** List the latest version of each DatasetVersion */ export declare function list(context: Client, options?: DatasetsListOptionalParams): PagedAsyncIterableIterator; export declare function _listVersionsSend(context: Client, name: string, options?: DatasetsListVersionsOptionalParams): StreamableMethod; export declare function _listVersionsDeserialize(result: PathUncheckedResponse): Promise<_PagedDatasetVersion>; /** List all versions of the given DatasetVersion */ export declare function listVersions(context: Client, name: string, options?: DatasetsListVersionsOptionalParams): PagedAsyncIterableIterator; export declare function uploadFile(context: Client, name: string, version: string, filePath: string, options?: DatasetUploadInternalOptions): Promise; export declare function uploadFolder(context: Client, name: string, version: string, folderPath: string, options?: DatasetUploadInternalOptions): Promise; //# sourceMappingURL=operations.d.ts.map