import { type CompactionOutcome } from "@gajae-code/agent-core/compaction"; import { type UsageReport } from "@gajae-code/ai/core"; import type { ProviderDetails } from "@gajae-code/ai/provider-details"; import type { KeybindingsManager } from "../../config/keybindings"; import type { CompactOptions } from "../../extensibility/extensions/types"; import { theme } from "../../modes/theme/theme"; import { type InteractiveModeContext } from "../../modes/types"; export declare function buildHelpMarkdown(keybindings: Pick): string; export declare class CommandController { #private; private readonly ctx; constructor(ctx: InteractiveModeContext); openInBrowser(urlOrPath: string): void; handleExportCommand(text: string): Promise; handleDumpCommand(): void; handleDebugTranscriptCommand(): Promise; handleShareCommand(): Promise; handleCopyCommand(sub?: string): void; handleSessionCommand(): Promise; handleJobsCommand(): Promise; handleUsageCommand(reports?: UsageReport[] | null): Promise; handleChangelogCommand(showFull?: boolean): Promise; handleHotkeysCommand(): void; handleHelpCommand(): void; handleToolsCommand(): void; handleContextCommand(): void; handleMemoryCommand(text: string): Promise; handleClearCommand(): Promise; handleContextClearCommand(): Promise; handleDropCommand(): Promise; handleForkCommand(): Promise; handleMoveCommand(targetPath: string): Promise; handleRenameCommand(title: string): Promise; handleBashCommand(command: string, excludeFromContext?: boolean): Promise; handlePythonCommand(code: string, excludeFromContext?: boolean): Promise; handleCompactCommand(customInstructions?: string): Promise; handleSkillCommand(skillPath: string, args: string): Promise; executeCompaction(customInstructionsOrOptions?: string | CompactOptions, isAuto?: boolean): Promise; handleHandoffCommand(customInstructions?: string): Promise; handleContributionPrepCommand(customInstructions?: string): Promise; } export declare function renderProviderSection(details: ProviderDetails, uiTheme: Pick): string; export declare function renderUsageReports(reports: UsageReport[], uiTheme: typeof theme, nowMs: number, availableWidth: number): string;