import type { IdentityDocument, KeyRotationEntry, RotationVerification } from '../types/identity.js';
export declare function createIdentityDocument(opts: {
    publicKey: string;
    recoveryKeys?: string[];
}): IdentityDocument;
export declare function rotateKey(opts: {
    identity: IdentityDocument;
    oldPrivateKey: string;
    newKeyPair: {
        publicKey: string;
        privateKey: string;
    };
    reason: KeyRotationEntry['reason'];
}): {
    identity: IdentityDocument;
    rotationEntry: KeyRotationEntry;
};
export declare function emergencyRotate(opts: {
    identity: IdentityDocument;
    recoveryPrivateKey: string;
    newKeyPair: {
        publicKey: string;
        privateKey: string;
    };
}): {
    identity: IdentityDocument;
    rotationEntry: KeyRotationEntry;
};
export declare function verifyRotation(entry: KeyRotationEntry): RotationVerification;
export declare function verifyRotationLog(identity: IdentityDocument): RotationVerification;
export declare function resolveCurrentKey(identity: IdentityDocument): string;
export declare function wasKeyActive(identity: IdentityDocument, publicKey: string): boolean;
//# sourceMappingURL=identity.d.ts.map