import * as Core from 'cloudflaredev/core';
import { APIResource } from 'cloudflaredev/resource';
import * as KeysAPI from 'cloudflaredev/resources/zero-trust/access/keys';
export declare class Keys extends APIResource {
    /**
     * Updates the Access key rotation settings for an account.
     */
    update(identifier: string, body: KeyUpdateParams, options?: Core.RequestOptions): Core.APIPromise<KeyUpdateResponse>;
    /**
     * Gets the Access key rotation settings for an account.
     */
    get(identifier: string, options?: Core.RequestOptions): Core.APIPromise<KeyGetResponse>;
    /**
     * Perfoms a key rotation for an account.
     */
    rotate(identifier: string, options?: Core.RequestOptions): Core.APIPromise<KeyRotateResponse>;
}
export type KeyUpdateResponse = unknown | string;
export type KeyGetResponse = unknown | string;
export type KeyRotateResponse = unknown | string;
export interface KeyUpdateParams {
    /**
     * The number of days between key rotations.
     */
    key_rotation_interval_days: number;
}
export declare namespace Keys {
    export import KeyUpdateResponse = KeysAPI.KeyUpdateResponse;
    export import KeyGetResponse = KeysAPI.KeyGetResponse;
    export import KeyRotateResponse = KeysAPI.KeyRotateResponse;
    export import KeyUpdateParams = KeysAPI.KeyUpdateParams;
}
//# sourceMappingURL=keys.d.ts.map