import fs from 'node:fs'; import path from 'node:path'; type FsLike = Pick; type PathLike = Pick; export type EnsureDefaultPrecommandScriptResult = { ok: boolean; created: boolean; scriptPath: string; message?: string; }; export declare function resolveRoutecodexUserDir(homeDir?: string): string; export declare function ensureDefaultPrecommandScriptBestEffort(options?: { fsImpl?: FsLike; pathImpl?: PathLike; homeDir?: string; }): EnsureDefaultPrecommandScriptResult; export {};