import type { FooterHint } from "./components/footer.js";
import type { Command, DashboardStats, OutputItem } from "./types.js";
export type DashboardOptions = {
    title?: string;
    statsTitle?: string;
    keymap?: Partial<Record<Command, string[]>>;
    rightPaneWidth?: number;
    hints?: FooterHint[];
    stdin?: NodeJS.ReadStream;
    stdout?: NodeJS.WriteStream;
};
export type Dashboard = {
    start(): void;
    stop(): void;
    appendOutput(item: OutputItem): void;
    updateStats(stats: Partial<DashboardStats>): void;
    onCommand(handler: (cmd: Command) => void): void;
    destroy(): void;
};
export declare function createDashboard(opts?: DashboardOptions): Dashboard;
