import type { ListrTaskObject } from 'listr'; /** * CustomListrRenderer is a class that provides a custom renderer for Listr tasks. * It renders the tasks in a specific format and updates the output periodically. * * @template Ctx - The type of the context object used by the Listr tasks. */ export declare class CustomListrRenderer { private _tasks; private _id; /** * Creates an instance of CustomListrRenderer. * * @param tasks - An array of Listr tasks to be rendered. */ constructor(tasks: ReadonlyArray>); /** * Indicates whether the renderer supports non-TTY environments. */ static get nonTTY(): boolean; /** * Renders the Listr tasks. * This method is called periodically to update the output. */ render(): void; /** * Ends the rendering of the Listr tasks. * This method clears the interval and updates the final output. */ end(): void; formatTextByTemp(title: string, status: 'successfully' | 'failed' | 'skipped' | 'building', temp?: string): string; /** * Renders an individual Listr task. * This method is called by the render() and end() methods. */ renderTask: () => void; /** * Prints the memory logs to the console. */ printMemoryLogs(): void; }