/** Grok's documented max length for an encoded cwd bucket name (bytes). */ export declare const GROK_ENCODED_CWD_MAX_BYTES = 255; /** Resolve GROK_HOME (env override, else `~/.grok`). */ export declare function grokHome(): string; export declare function grokSessionsRoot(): string; export declare function grokSkillsDir(): string; export declare function grokHooksDir(): string; /** URL-encode a working directory the way Grok names session buckets. */ export declare function encodeGrokCwd(cwd: string): string; /** * Resolve the on-disk sessions bucket directory for `cwd`. * * 1. Prefer the normal URL-encoded name when that directory already exists. * 2. Otherwise scan for a hashed bucket whose `.cwd` file equals `cwd` * (Grok's path when encoded name would exceed 255 bytes). * 3. If nothing exists yet, return the preferred encoded path (Grok will * create it for short paths; long paths only appear after TUI startup, * at which point step 2 finds the hashed group). */ export declare function resolveGrokCwdBucketDir(cwd: string): string; export declare function grokSessionDir(sessionId: string, cwd: string): string; export declare function grokUpdatesPath(sessionId: string, cwd: string): string; /** Bucket-level submit log (see header) — one line per submit across all * sessions in this cwd. Resolves hashed buckets via `.cwd` when needed. */ export declare function grokPromptHistoryPath(cwd: string): string; export declare function grokSummaryPath(sessionId: string, cwd: string): string; //# sourceMappingURL=grok-paths.d.ts.map