import type { KeyVaultManagementContext } from "../../api/keyVaultManagementContext.js"; import type { KeysListVersionsOptionalParams, KeysGetVersionOptionalParams, KeysListOptionalParams, KeysCreateIfNotExistOptionalParams, KeysGetOptionalParams } from "../../api/keys/options.js"; import type { Key, KeyCreateParameters } from "../../models/models.js"; import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js"; /** Interface representing a Keys operations. */ export interface KeysOperations { /** Lists the keys in the specified key vault. */ listVersions: (resourceGroupName: string, vaultName: string, keyName: string, options?: KeysListVersionsOptionalParams) => PagedAsyncIterableIterator; /** Gets the specified version of the specified key in the specified key vault. */ getVersion: (resourceGroupName: string, vaultName: string, keyName: string, keyVersion: string, options?: KeysGetVersionOptionalParams) => Promise; /** Lists the keys in the specified key vault. */ list: (resourceGroupName: string, vaultName: string, options?: KeysListOptionalParams) => PagedAsyncIterableIterator; /** 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. */ createIfNotExist: (resourceGroupName: string, vaultName: string, keyName: string, parameters: KeyCreateParameters, options?: KeysCreateIfNotExistOptionalParams) => Promise; /** Gets the current version of the specified key from the specified key vault. */ get: (resourceGroupName: string, vaultName: string, keyName: string, options?: KeysGetOptionalParams) => Promise; } export declare function _getKeysOperations(context: KeyVaultManagementContext): KeysOperations; //# sourceMappingURL=index.d.ts.map