export type VillaniCopyCategory = "thinking" | "analysis" | "reading" | "writing" | "running" | "testing" | "debugging" | "review" | "approval" | "failure" | "complete"; export declare function villaniCopy(category: VillaniCopyCategory): string; export declare function resetVillaniCopyCounters(): void; export declare function resetVillaniStatusManager(): void; export declare function nextVillaniStatus(category: VillaniCopyCategory, detailKey?: string): string | undefined; export declare function currentStatusFallback(category: VillaniCopyCategory): string; export type VillaniUiState = { phase: string; lastCommand?: string; lastCommandExitCode?: number; lastCommandPreview?: string; lastToolPath?: string; lastToolKind?: "reading" | "writing"; lastAssistantText?: string; finalSummary?: string; changedFiles?: string[]; transcriptPath?: string; lastEventAt?: number; }; export declare function shouldRenderUserFacingEvent(event: any): boolean; export declare function cleanAssistantText(value: unknown): string | null; export declare function notify(ctx: any, message: string, level?: "info" | "warn" | "error"): Promise; export declare function setStatus(ctx: any, message: string | undefined): Promise; export declare function setWidget(ctx: any, widget: any): Promise; export declare function sendDurableVillaniMessage(pi: any, ctx: any, message: string, details?: any): Promise; export declare function confirm(ctx: any, title: string, message: string, options?: any): Promise; export declare function visibleChangedFiles(files?: string[]): string[]; export declare function finalMessage(event: any): string; export declare function toolStartedMessage(event: any): string; export declare function reduceVillaniUiState(state: VillaniUiState, event: any): VillaniUiState; export declare function widgetForState(state: VillaniUiState): any; export declare function renderState(ctx: any, state: VillaniUiState): Promise; export declare function renderBridgeEvent(event: any, _pi: any, ctx: any): Promise; export declare function resetVillaniUiState(): void;