/**
 * Key export/import utilities for sharing keys with ChatGPT client
 */
import type { KeyExport, X25519KeyPair, Ed25519KeyPair } from "./types.js";
/**
 * Export keypair to JSON format for sharing
 */
export declare function exportKeyPair(keyPair: X25519KeyPair | Ed25519KeyPair): KeyExport;
/**
 * Export both X25519 and Ed25519 key pairs together
 */
export declare function exportKeyPairs(x25519KeyPair: X25519KeyPair, ed25519KeyPair: Ed25519KeyPair): {
    x25519: KeyExport;
    ed25519: KeyExport;
};
/**
 * Import both X25519 and Ed25519 key pairs from exported format
 */
export declare function importKeyPairs(exported: {
    x25519: KeyExport;
    ed25519: KeyExport;
}): {
    x25519: X25519KeyPair;
    ed25519: Ed25519KeyPair;
};
/**
 * Import keypair from JSON format
 * Validates key format and structure for security
 */
export declare function importKeyPair(exported: KeyExport): X25519KeyPair | Ed25519KeyPair;
/**
 * Mask private key for display (shows last 4 characters)
 */
export declare function maskPrivateKey(privateKey: string | Uint8Array): string;
//# sourceMappingURL=export.d.ts.map