import type { KeyVaultManagementContext } from "../../api/keyVaultManagementContext.js"; import type { ManagedHsmKeysListVersionsOptionalParams, ManagedHsmKeysGetVersionOptionalParams, ManagedHsmKeysListOptionalParams, ManagedHsmKeysCreateIfNotExistOptionalParams, ManagedHsmKeysGetOptionalParams } from "../../api/managedHsmKeys/options.js"; import type { ManagedHsmKey, ManagedHsmKeyCreateParameters } from "../../models/models.js"; import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js"; /** Interface representing a ManagedHsmKeys operations. */ export interface ManagedHsmKeysOperations { /** Lists the keys in the specified managed HSM. */ listVersions: (resourceGroupName: string, name: string, keyName: string, options?: ManagedHsmKeysListVersionsOptionalParams) => PagedAsyncIterableIterator; /** Gets the specified version of the specified key in the specified managed HSM. */ getVersion: (resourceGroupName: string, name: string, keyName: string, keyVersion: string, options?: ManagedHsmKeysGetVersionOptionalParams) => Promise; /** Lists the keys in the specified managed HSM. */ list: (resourceGroupName: string, name: string, options?: ManagedHsmKeysListOptionalParams) => 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, name: string, keyName: string, parameters: ManagedHsmKeyCreateParameters, options?: ManagedHsmKeysCreateIfNotExistOptionalParams) => Promise; /** Gets the current version of the specified key from the specified managed HSM. */ get: (resourceGroupName: string, name: string, keyName: string, options?: ManagedHsmKeysGetOptionalParams) => Promise; } export declare function _getManagedHsmKeysOperations(context: KeyVaultManagementContext): ManagedHsmKeysOperations; //# sourceMappingURL=index.d.ts.map