/** * `openlore statusline` — a compact, color-coded index status for Claude Code's * custom status line. The command consumes Claude's session JSON from stdin and * uses its project directory, falling back to the process cwd for manual use. */ import { Command } from 'commander'; import { type IndexStatus } from './status.js'; type StatusColor = 'green' | 'yellow' | 'red'; export declare function statusLabel(status: IndexStatus, unreviewed?: number): { color: StatusColor; text: string; }; /** * The directory whose index to report, from Claude Code's status-line JSON. The project * directory (where the session started, the root the hooks and MCP server use) wins over the * current directory, which moves into subdirectories that carry no `.openlore/` of their own. */ export declare function workingDirectoryFromInput(input: string, fallback: string): string; /** Render one status line. Never throws: a status-line command must fail soft. */ export declare function renderStatusLine(input: string, fallbackCwd: string): Promise; export declare const statuslineCommand: Command; export {}; //# sourceMappingURL=statusline.d.ts.map