import type { KeyVaultManagementContext as Client } from "../index.js"; import type { Key, KeyCreateParameters, _KeyListResult } from "../../models/models.js"; import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js"; import type { KeysListVersionsOptionalParams, KeysGetVersionOptionalParams, KeysListOptionalParams, KeysCreateIfNotExistOptionalParams, KeysGetOptionalParams } from "./options.js"; import type { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client"; export declare function _listVersionsSend(context: Client, resourceGroupName: string, vaultName: string, keyName: string, options?: KeysListVersionsOptionalParams): StreamableMethod; export declare function _listVersionsDeserialize(result: PathUncheckedResponse): Promise<_KeyListResult>; /** Lists the keys in the specified key vault. */ export declare function listVersions(context: Client, resourceGroupName: string, vaultName: string, keyName: string, options?: KeysListVersionsOptionalParams): PagedAsyncIterableIterator; export declare function _getVersionSend(context: Client, resourceGroupName: string, vaultName: string, keyName: string, keyVersion: string, options?: KeysGetVersionOptionalParams): StreamableMethod; export declare function _getVersionDeserialize(result: PathUncheckedResponse): Promise; /** Gets the specified version of the specified key in the specified key vault. */ export declare function getVersion(context: Client, resourceGroupName: string, vaultName: string, keyName: string, keyVersion: string, options?: KeysGetVersionOptionalParams): Promise; export declare function _listSend(context: Client, resourceGroupName: string, vaultName: string, options?: KeysListOptionalParams): StreamableMethod; export declare function _listDeserialize(result: PathUncheckedResponse): Promise<_KeyListResult>; /** Lists the keys in the specified key vault. */ export declare function list(context: Client, resourceGroupName: string, vaultName: string, options?: KeysListOptionalParams): PagedAsyncIterableIterator; export declare function _createIfNotExistSend(context: Client, resourceGroupName: string, vaultName: string, keyName: string, parameters: KeyCreateParameters, options?: KeysCreateIfNotExistOptionalParams): StreamableMethod; export declare function _createIfNotExistDeserialize(result: PathUncheckedResponse): Promise; /** Creates the first version of a new key if it does not exist. If it already exists, then the existing key is returned without any write operations being performed. This API does not create subsequent versions, and does not update existing keys. */ export declare function createIfNotExist(context: Client, resourceGroupName: string, vaultName: string, keyName: string, parameters: KeyCreateParameters, options?: KeysCreateIfNotExistOptionalParams): Promise; export declare function _getSend(context: Client, resourceGroupName: string, vaultName: string, keyName: string, options?: KeysGetOptionalParams): StreamableMethod; export declare function _getDeserialize(result: PathUncheckedResponse): Promise; /** Gets the current version of the specified key from the specified key vault. */ export declare function get(context: Client, resourceGroupName: string, vaultName: string, keyName: string, options?: KeysGetOptionalParams): Promise; //# sourceMappingURL=operations.d.ts.map