import { type Locale } from '../i18n/index.js'; export declare function expandHome(p: string): string; /** * Validate a user-supplied path for `/cd` and `/oncall bind`. Trust model is * "owner explicitly chose a directory" — the daemon already runs CLI prompts * with full filesystem access, so an allowlist would be theater. We only do * the typo guards: exists and is a directory. * * Auto-create is opt-in (`opts.autoCreate`): only commands where the owner is * explicitly typing a fresh path right now (`/cd`, `/oncall bind`) pass it — * a missing path gets `mkdir -p` and `created: true` so the caller can tell * the user. Every other call site (stored/derived paths at trigger time, * dashboard writes, repo cards) keeps the exists-check as its typo guard — * silently materializing an empty dir there would mask a stale or mistyped * path instead of surfacing it. */ export declare function validateWorkingDir(input: string, locale?: Locale, opts?: { autoCreate?: boolean; }): { ok: true; resolvedPath: string; created?: boolean; } | { ok: false; error: string; }; //# sourceMappingURL=working-dir.d.ts.map