import type { AIProjectContext as Client } from "../index.js"; import type { _PagedIndex, IndexUnion } from "../../models/models.js"; import type { PagedAsyncIterableIterator } from "@azure/core-paging"; import type { IndexesCreateOrUpdateOptionalParams, IndexesDeleteOptionalParams, IndexesGetOptionalParams, IndexesListOptionalParams, IndexesListVersionsOptionalParams } from "./options.js"; import type { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client"; export declare function _createOrUpdateSend(context: Client, name: string, version: string, index: IndexUnion, options?: IndexesCreateOrUpdateOptionalParams): StreamableMethod; export declare function _createOrUpdateDeserialize(result: PathUncheckedResponse): Promise; /** Create a new or update an existing Index with the given version id */ export declare function createOrUpdate(context: Client, name: string, index: IndexUnion, version: string, options?: IndexesCreateOrUpdateOptionalParams): Promise; export declare function _$deleteSend(context: Client, name: string, version: string, options?: IndexesDeleteOptionalParams): StreamableMethod; export declare function _$deleteDeserialize(result: PathUncheckedResponse): 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. */ export declare function $delete(context: Client, name: string, version: string, options?: IndexesDeleteOptionalParams): Promise; export declare function _getSend(context: Client, name: string, version: string, options?: IndexesGetOptionalParams): StreamableMethod; export declare function _getDeserialize(result: PathUncheckedResponse): Promise; /** Get the specific version of the Index. The service returns 404 Not Found error if the Index does not exist. */ export declare function get(context: Client, name: string, version: string, options?: IndexesGetOptionalParams): Promise; export declare function _listSend(context: Client, options?: IndexesListOptionalParams): StreamableMethod; export declare function _listDeserialize(result: PathUncheckedResponse): Promise<_PagedIndex>; /** List the latest version of each Index */ export declare function list(context: Client, options?: IndexesListOptionalParams): PagedAsyncIterableIterator; export declare function _listVersionsSend(context: Client, name: string, options?: IndexesListVersionsOptionalParams): StreamableMethod; export declare function _listVersionsDeserialize(result: PathUncheckedResponse): Promise<_PagedIndex>; /** List all versions of the given Index */ export declare function listVersions(context: Client, name: string, options?: IndexesListVersionsOptionalParams): PagedAsyncIterableIterator; //# sourceMappingURL=operations.d.ts.map