import { type Ora } from "ora"; type Log = { message: string; type: "debug" | "info" | "warning"; } | { message: string | Error; type: "error"; }; export declare function log(message: string, type?: "debug" | "info" | "warning"): void; export declare function logError(error: string | Error): void; export declare function debug(message: string): void; export declare function info(message: string): void; export declare function warning(message: string): void; export declare function writeInfo(message: string): void; export declare function writeDebug(message: string): void; export declare function writeWarning(message: string): void; export declare function writeError(err: string | Error): void; export declare function resetMessages(): void; export declare function resetEncounteredErrors(): void; export declare function resetState(): void; export declare function flushLogs(): Promise; export declare function task(title: string, callback: (spinner: Ora) => Promise): Promise, null]>; export declare function getMessages(): Log[]; export declare function containsMessage(search: string): boolean; export declare function hasEncounteredErrors(): boolean; export declare function getLastTask(): Ora | undefined; export {}; //# sourceMappingURL=io.d.ts.map