import { type PiSessionStatus } from './pi-rpc.js'; export declare function restoreOpenInboxReceiptsAfterSessionLoss(): number; export declare function startupRecoveryPrompt(): string | undefined; type ResetSession = { status(): Promise; currentActivityEpoch(): number; }; /** Build stale-safe reset controls around the daemon's replaceable session owner. */ export declare function createSessionResetControls(options: { current(): ResetSession; performReset(): Promise<{ archivedTo: string; recoverySent: boolean; }>; setReserved(reserved: boolean): void; onFailure(error: unknown): void; }): { reset: () => Promise<{ archivedTo: string; recoverySent: boolean; }>; confirmReset: (challenge: string) => Promise<{ result: { confirmed: boolean; }; cancelPostFlush: () => void; postFlush: () => Promise; }>; }; /** Starts the single configured gateway owner. */ export declare function startGateway(): Promise; export {};