export interface TempFiles { id: string; paramsPath: string; scriptPath: string; /** macOS: AppleScript (.scpt) / Windows: PowerShell (.ps1) */ runnerPath: string; resultPath: string; } export declare function ensureTmpDir(): Promise; export declare function createTempFiles(): TempFiles; export declare function writeParams(paramsPath: string, params: unknown): Promise; export declare function writeJsx(scriptPath: string, jsxCode: string): Promise; /** macOS 用 AppleScript 生成 */ export declare function writeAppleScript(scptPath: string, scriptPath: string, options?: { activate?: boolean; appPath?: string; }): Promise; /** Windows 用 PowerShell スクリプト生成 */ export declare function writePowerShellScript(ps1Path: string, scriptPath: string, options?: { activate?: boolean; appPath?: string; }): Promise; export declare function readResult(resultPath: string): Promise; export declare function cleanupTempFiles(files: TempFiles): Promise; export declare function cleanupTmpDirSync(): void; //# sourceMappingURL=file-transport.d.ts.map