export type CodexAppOpenResult = { ok: true; } | { ok: false; error: 'invalid_thread_id' | 'unsupported_platform' | 'open_failed'; detail?: string; }; export type CodexAppOpenRunner = (executable: string, args: string[], options: { timeout: number; windowsHide: boolean; maxBuffer: number; }) => Promise; export declare function isCodexAppThreadId(value: string): boolean; export declare function canOpenCodexAppThread(threadId: string, platform?: NodeJS.Platform): boolean; /** 在运行 BotMux 的 macOS 用户会话中打开可信的 Codex App 线程。 */ export declare function openCodexAppThread(threadId: string, options?: { platform?: NodeJS.Platform; run?: CodexAppOpenRunner; timeoutMs?: number; }): Promise; //# sourceMappingURL=app-opener.d.ts.map