export interface VerifierKeyPin {
    readonly keyId: string;
    readonly generation: number;
    /** Base64 SPKI of the verifier's P-256 signing key. */
    readonly spki: string;
}
export type StatementFields = Readonly<Record<string, unknown>>;
export interface VerifiedStatement {
    readonly signer: VerifierKeyPin;
    readonly fields: StatementFields;
}
export declare function isRecord(value: unknown): value is StatementFields;
/**
 * The statement in `body` if a pinned key that `canSign` admits signed exactly its payload bytes and the
 * statement names that key as its `verifierKeyId`; `undefined` on any failure.
 */
export declare function verifySignedStatement(body: string, pins: readonly VerifierKeyPin[], canSign: (pin: VerifierKeyPin) => boolean): Promise<VerifiedStatement | undefined>;
export declare function hasExactKeys(record: StatementFields, required: readonly string[], optional?: readonly string[]): boolean;
//# sourceMappingURL=signed-statement.d.ts.map