import type { AIProjectContext } from "../../api/aiProjectContext.js"; import type { IndexesCreateOrUpdateOptionalParams, IndexesDeleteOptionalParams, IndexesGetOptionalParams, IndexesListOptionalParams, IndexesListVersionsOptionalParams } from "../../api/indexes/options.js"; import type { IndexUnion } from "../../models/models.js"; import type { PagedAsyncIterableIterator } from "@azure/core-paging"; /** Interface representing a Indexes operations. */ export interface IndexesOperations { /** Create a new or update an existing Index with the given version id */ createOrUpdate: (name: string, version: string, index: IndexUnion, options?: IndexesCreateOrUpdateOptionalParams) => Promise; /** Delete the specific version of the Index. The service returns 204 No Content if the Index was deleted successfully or if the Index does not exist. */ delete: (name: string, version: string, options?: IndexesDeleteOptionalParams) => Promise; /** Get the specific version of the Index. The service returns 404 Not Found error if the Index does not exist. */ get: (name: string, version: string, options?: IndexesGetOptionalParams) => Promise; /** List the latest version of each Index */ list: (options?: IndexesListOptionalParams) => PagedAsyncIterableIterator; /** List all versions of the given Index */ listVersions: (name: string, options?: IndexesListVersionsOptionalParams) => PagedAsyncIterableIterator; } export declare function _getIndexesOperations(context: AIProjectContext): IndexesOperations; //# sourceMappingURL=index.d.ts.map