/** Tạo tất cả sandbox dirs nếu chưa có — gọi khi daemon start. */ export declare function ensureSandboxDirs(): void; /** Trả về path cho temp script — {scripts}/{timestamp}-{hash}.{ext} */ export declare function getTempScriptPath(ext?: 'py' | 'js' | 'sh' | 'ts'): string; /** Trả về path staging để download file — {downloads}/{filename} */ export declare function getDownloadPath(filename: string): string; /** Trả về path cho output file — {outputs}/{filename} */ export declare function getOutputPath(filename: string): string; /** Trả về path worktree cho sub-agent branch. */ export declare function getWorktreePath(branch: string): string; /** Xóa temp scripts cũ hơn maxAgeMs (default 24h). */ export declare function cleanupOldScripts(maxAgeMs?: number): void;