export interface CliPaths {
    home: string;
    sessionsRoot: string;
    tracesRoot: string;
    indexFile: string;
}
/** Resolve a home override from argv/env. Does NOT create directories — that's ensureLayout's job. */
export declare function resolveHome(overrideDir?: string): string;
/** Return the resolved layout without touching the filesystem. */
export declare function computePaths(overrideDir?: string): CliPaths;
/** Create the home + sessions directories if missing. Idempotent. */
export declare function ensureLayout(paths: CliPaths): void;
/** Per-session paths. Files may not exist yet — callers check as needed. */
export interface SessionPaths {
    dir: string;
    config: string;
    conclusion: string;
    transcript: string;
    stream: string;
    claimSupport: string;
    claimVerification: string;
    identityResolutions: string;
    report: string;
    turnsDir: string;
}
export declare class InvalidSessionIdError extends Error {
    constructor(sessionId: string);
}
/** Throws InvalidSessionIdError on anything that doesn't match the pattern. */
export declare function assertValidSessionId(sessionId: string): void;
export declare function sessionPaths(paths: CliPaths, sessionId: string): SessionPaths;
/** Create the per-session folder tree. Idempotent. */
export declare function ensureSessionLayout(sp: SessionPaths): void;
/** Return session directory name → sessionId mapping by scanning sessions/. */
export declare function scanSessionIds(paths: CliPaths): string[];
//# sourceMappingURL=paths.d.ts.map