import { type KeyObject } from 'crypto'; export interface BoatKeys { identity: KeyObject; inbox: KeyObject; } export interface BoatPublicKeys { identity: string; inbox: string; } export declare class BoatKeyStore { private readonly file; private keys; private writeChain; constructor(dataDir: string); load(): void; get(): BoatKeys | undefined; publicKeys(): BoatPublicKeys | undefined; ensure(): Promise; flush(): Promise; private persist; }