export declare const CLAUDE_STATUSLINE_COMMAND = "agents __claude-statusline";
/**
 * True when `command` re-invokes THIS status-line producer (our private
 * `__claude-statusline` subcommand) under any binary name or path. Delegating to
 * such a command is the fork bomb, so both the read side (renderDelegate) and the
 * write side (installClaudeStatusLine) treat it as "not a real external
 * producer" and never chain to it.
 */
export declare function isStatusLineSelfReference(command: string): boolean;
interface ClaudeStatusLinePayload {
    cwd?: string;
    session_id?: string;
    workspace?: {
        current_dir?: string;
    };
    model?: {
        display_name?: string;
        id?: string;
    };
    rate_limits?: {
        five_hour?: {
            used_percentage?: number;
            resets_at?: number;
        };
        seven_day?: {
            used_percentage?: number;
            resets_at?: number;
        };
    };
}
export declare function ingestClaudeStatusLineUsage(payload: ClaudeStatusLinePayload, versionHome: string): boolean;
export declare function renderDelegate(payload: string, versionHome: string): string;
/**
 * Format a reminder as a dimmed statusline part (empty string when none). The
 * ◆ marker distinguishes it from the host/model/usage parts, and the ANSI dim
 * keeps it quiet next to the live figures.
 */
export declare function formatReminderPart(short: string | undefined): string;
export declare function renderClaudeStatusLine(payload: ClaudeStatusLinePayload, host?: string, delegated?: string, reminder?: string): string;
/**
 * Resolve the per-session reminder for the statusline, or '' when none is
 * configured. A malformed reminders file is swallowed here on purpose — a broken
 * prompt is worse than a missing reminder — while `agents reminders` surfaces it.
 */
export declare function resolveReminderPart(sessionId?: string): string;
export declare function runClaudeStatusLine(): Promise<number>;
export declare function installClaudeStatusLine(versionHome: string): {
    changed: boolean;
    error?: string;
};
export {};
