import type { InjectionCache } from "../core/injection-cache.ts";
export declare const STATUS_KEY = "ext:nested-agents:status";
export declare const WIDGET_KEY = "ext:nested-agents:widget";
export interface ThemeFn {
    fg(color: string, text: string): string;
}
export interface UiSurface {
    hasUI: boolean;
    cwd: string;
    ui?: {
        theme?: ThemeFn;
        setStatus?(key: string, text: string | undefined): void;
        setWidget?(key: string, lines: string[] | undefined, options?: {
            placement?: "aboveEditor" | "belowEditor";
        }): void;
        notify?(message: string, level?: "info" | "warn" | "warning" | "error"): void;
    };
}
export interface InjectedFileMeta {
    absolutePath: string;
    truncated: boolean;
}
export declare function updateStatus(ctx: UiSurface, cache: InjectionCache, sessionKey: string, hasErrors: boolean): void;
export declare function clearStatus(ctx: UiSurface): void;
export declare function updateWidget(ctx: UiSurface, visible: boolean, files: InjectedFileMeta[]): void;
export declare function clearWidget(ctx: UiSurface): void;
export declare function buildDebugRecord(input: {
    cache: InjectionCache;
    sessionKey: string;
    files: InjectedFileMeta[];
}): Record<string, unknown>;
//# sourceMappingURL=reporter.d.ts.map