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.
 */
export declare function validateWorkingDir(input: string, locale?: Locale): {
    ok: true;
    resolvedPath: string;
} | {
    ok: false;
    error: string;
};
//# sourceMappingURL=working-dir.d.ts.map