export declare const EXIT_REQUESTED_STATE_KEY = "exitRequested"; export declare const EXIT_REQUESTED_CODE = 3010; type AppStateLike = { get(key: string): T; set(key: string, value: unknown): void; delete(key: string): void; }; type AgentLike = { appState: AppStateLike; }; export declare function requestExit(agent: AgentLike): void; export declare function isExitRequested(agent: AgentLike): boolean; export declare function consumeExitRequest(agent: AgentLike): boolean; export {};