export type StateMode = 'global' | 'repo'; export type AppPaths = { data: string; cache: string; config: string; log: string; temp: string; }; export type PathsProvider = (name: string) => AppPaths; export type StatePaths = { mode: StateMode; repoId: string; root: string; dataRoot: string; cacheRoot: string; runsDir: string; auditDir: string; cacheDir: string; conversationsDir: string; artifactsDir: string; tasksDir: string; queueDir: string; metadataPath: string; }; export declare function resolveAppPaths(provider?: PathsProvider): AppPaths; export declare function resolveStatePaths(options: { repoRoot: string; mode: StateMode; stateRoot?: string; repoId?: string; provider?: PathsProvider; pathImpl?: Pick; }): StatePaths;