import type { LoopState } from "./types.ts";
export declare const LOOP_STATUS_KEY = "loop";
export declare const LOOP_STATUS_TICK_INTERVAL_MS = 1000;
export type LoopStatusRender = (key: string, text: string | undefined) => void;
export interface LoopStatusTickerOptions {
    readonly render: LoopStatusRender;
    readonly now?: () => number;
}
export declare function formatLoopStatus(state: LoopState, nowMs: number): string | undefined;
export declare function formatNoopFold(noopStreak: number): string;
export declare class LoopStatusTicker {
    private readonly render;
    private readonly now;
    private timeoutId;
    private state;
    private lastRendered;
    constructor(options: LoopStatusTickerOptions);
    get running(): boolean;
    sync(state: LoopState): void;
    dispose(): void;
    private scheduleNext;
    private tick;
}
//# sourceMappingURL=status.d.ts.map