/** * Slidev Plugin Logger * Wraps Docusaurus logger for consistent build-time logging * This is for Node.js build-time only (plugins) */ /** * Log info message * Format: [INFO] [Slidev Plugin] message */ export declare function logInfo(message: string): void; /** * Log warning message * Format: [WARNING] [Slidev Plugin] message */ export declare function logWarn(message: string): void; /** * Log error message * Format: [ERROR] [Slidev Plugin] message */ export declare function logError(message: string, error?: any): void; /** * Log success message * Format: [SUCCESS] [Slidev Plugin] message */ export declare function logSuccess(message: string): void; /** * Format a file path for logging (with blue underline) */ export declare function formatPath(filePath: string): string; /** * Format a number for logging (with cyan color) */ export declare function formatNumber(num: number): string; /** * Format code/identifier for logging (with cyan color) */ export declare function formatCode(code: string): string; /** * Filter Slidev build output to remove unwanted warnings and verbose messages * Filters: * - outDir "will not be emptied" warning (plugin handles cleanup) * - Vite chunk manifest output (*.js file sizes) * - "transforming..." progress messages * - Module transformation counts */ export declare function filterSlidevOutput(output: string): string; /** * Check if a log line should be shown in non-verbose mode * Only shows important progress/completion messages */ export declare function isImportantOutput(line: string): boolean; //# sourceMappingURL=logger.d.ts.map