import { createLogger } from 'vite'; export declare const logger: { initialize(logger: ReturnType, root: string): void; info(scope: string, message: string, file?: string): void; warn(scope: string, message: string, file?: string): void; error(scope: string, message: string, file?: string): void; }; export declare function formatError(scope: string, messageOrError: T, file?: string): T;