import { ReactElement } from "react"; import { ProcessRenderer, RunnableHandler } from "./process.js"; export declare class FancyProcessRenderer implements ProcessRenderer { private readonly title; private started; private currentHandler; private cleanupFns; constructor(title: string); start(): void; addStep(title: string): RunnableHandler; runStep(title: string, fn: (() => Promise) | Promise): Promise; addInfo(title: string): void; addInput(question: string, mask?: boolean): Promise; addSelect(question: string, options: { value: TVal; label: string; }[]): Promise; addConfirmation(question: string): Promise; complete(summary: ReactElement): Promise; error(err: unknown): Promise; private renderStart; addCleanup(title: string, fn: () => Promise): void; private cleanup; }