import type { AIProjectClientOptionalParams, AIProjectContext } from "../../api/aiProjectContext.js"; import type { DatasetsGetCredentialsOptionalParams, DatasetsPendingUploadOptionalParams, DatasetsCreateOrUpdateOptionalParams, DatasetsDeleteOptionalParams, DatasetsGetOptionalParams, DatasetsListOptionalParams, DatasetsListVersionsOptionalParams } from "../../api/datasets/options.js"; import type { DatasetVersionUnion, PendingUploadRequest, PendingUploadResponse, DatasetCredential } from "../../models/models.js"; import type { DatasetUploadOptions } from "../../api/index.js"; import type { PagedAsyncIterableIterator } from "@azure/core-paging"; /** Interface representing a Datasets operations. */ export interface DatasetsOperations { /** Get the SAS credential to access the storage account associated with a Dataset version. */ getCredentials: (name: string, version: string, options?: DatasetsGetCredentialsOptionalParams) => Promise; /** Start a new or get an existing pending upload of a dataset for a specific version. */ pendingUpload: (name: string, version: string, pendingUploadRequest: PendingUploadRequest, options?: DatasetsPendingUploadOptionalParams) => Promise; /** Create a new or update an existing DatasetVersion with the given version id */ createOrUpdate: (name: string, version: string, datasetVersion: DatasetVersionUnion, options?: DatasetsCreateOrUpdateOptionalParams) => 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. */ delete: (name: string, version: string, options?: DatasetsDeleteOptionalParams) => Promise; /** Get the specific version of the DatasetVersion. The service returns 404 Not Found error if the DatasetVersion does not exist. */ get: (name: string, version: string, options?: DatasetsGetOptionalParams) => Promise; /** List the latest version of each DatasetVersion */ list: (options?: DatasetsListOptionalParams) => PagedAsyncIterableIterator; /** List all versions of the given DatasetVersion */ listVersions: (name: string, options?: DatasetsListVersionsOptionalParams) => PagedAsyncIterableIterator; /** Upload a file to the DatasetVersion */ uploadFile: (name: string, version: string, filePath: string, options?: DatasetUploadOptions) => Promise; /** Upload a folder to the DatasetVersion */ uploadFolder: (name: string, version: string, folderPath: string, options?: DatasetUploadOptions) => Promise; } export declare function _getDatasetsOperations(context: AIProjectContext, projectOptions?: AIProjectClientOptionalParams): DatasetsOperations; //# sourceMappingURL=index.d.ts.map