import * as dpopLib from 'dpop';
export declare const DPOP_NONCE_HEADER = "dpop-nonce";
export type KeyPair = Readonly<dpopLib.KeyPair>;
type GenerateProofParams = {
    keyPair: KeyPair;
    url: string;
    method: string;
    nonce?: string;
    accessToken?: string;
};
export declare function generateKeyPair(): Promise<KeyPair>;
export declare function calculateThumbprint(keyPair: Pick<KeyPair, 'publicKey'>): Promise<string>;
export declare function generateProof({ keyPair, url, method, nonce, accessToken }: GenerateProofParams): Promise<string>;
export declare function isGrantTypeSupported(grantType: string): boolean;
export {};
