import { shouldUseInteractiveDashboard, type Dashboard } from "../../../packages/toolcraft-design/dist/index.js";
type DashboardQuitCommandOptions = {
    abortController: AbortController;
    dashboard: Pick<Dashboard, "destroy" | "onCommand" | "stop">;
    requestCancellation: () => void;
};
export { shouldUseInteractiveDashboard };
export declare function formatDashboardDuration(ms: number): string;
export declare function formatDashboardTimestamp(timestamp: number): string;
export declare function createDashboardLineBuffer(emit: (line: string) => void): {
    push(chunk: string): void;
    flush(): void;
};
export declare function registerDashboardQuitCommands(options: DashboardQuitCommandOptions): void;
