import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js"; import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js"; import * as core from "../../../../core/index.js"; import * as Hedra from "../../../index.js"; export declare namespace KeysClient { type Options = BaseClientOptions; interface RequestOptions extends BaseRequestOptions { } } export declare class KeysClient { protected readonly _options: NormalizedClientOptionsWithAuth; constructor(options?: KeysClient.Options); /** * @param {Hedra.KeysListRequest} request * @param {KeysClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Hedra.BadRequestError} * @throws {@link Hedra.UnauthorizedError} * @throws {@link Hedra.ForbiddenError} * @throws {@link Hedra.NotFoundError} * @throws {@link Hedra.TooManyRequestsError} * @throws {@link Hedra.InternalServerError} * @throws {@link errors.HedraError} * @throws {@link errors.HedraTimeoutError} * * @example * await client.keys.list() */ list(request?: Hedra.KeysListRequest, requestOptions?: KeysClient.RequestOptions): core.HttpResponsePromise; private __list; /** * @param {Hedra.KeyCreateRequest} request * @param {KeysClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Hedra.BadRequestError} * @throws {@link Hedra.UnauthorizedError} * @throws {@link Hedra.ForbiddenError} * @throws {@link Hedra.NotFoundError} * @throws {@link Hedra.TooManyRequestsError} * @throws {@link Hedra.InternalServerError} * @throws {@link errors.HedraError} * @throws {@link errors.HedraTimeoutError} * * @example * await client.keys.create() */ create(request?: Hedra.KeyCreateRequest, requestOptions?: KeysClient.RequestOptions): core.HttpResponsePromise; private __create; /** * @param {string} key_id - The key's public identifier. * @param {Hedra.KeyRotateRequest} request * @param {KeysClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Hedra.BadRequestError} * @throws {@link Hedra.UnauthorizedError} * @throws {@link Hedra.ForbiddenError} * @throws {@link Hedra.NotFoundError} * @throws {@link Hedra.TooManyRequestsError} * @throws {@link Hedra.InternalServerError} * @throws {@link errors.HedraError} * @throws {@link errors.HedraTimeoutError} * * @example * await client.keys.rotate("key_id") */ rotate(key_id: string, request?: Hedra.KeyRotateRequest, requestOptions?: KeysClient.RequestOptions): core.HttpResponsePromise; private __rotate; /** * @param {string} key_id - The key's public identifier. * @param {Hedra.KeysRevokeRequest} request * @param {KeysClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Hedra.BadRequestError} * @throws {@link Hedra.UnauthorizedError} * @throws {@link Hedra.ForbiddenError} * @throws {@link Hedra.NotFoundError} * @throws {@link Hedra.TooManyRequestsError} * @throws {@link Hedra.InternalServerError} * @throws {@link errors.HedraError} * @throws {@link errors.HedraTimeoutError} * * @example * await client.keys.revoke("key_id") */ revoke(key_id: string, request?: Hedra.KeysRevokeRequest, requestOptions?: KeysClient.RequestOptions): core.HttpResponsePromise; private __revoke; }