import type { ResolvedServerUrls } from 'vite'; import type { ZodError } from 'zod'; import { type ErrorWithMetadata } from './errors/index.js'; /** Display */ export declare function req({ url, method, statusCode, reqTime, }: { url: string; statusCode: number; method?: string; reqTime?: number; }): string; /** Display server host and startup time */ export declare function serverStart({ startupTime, resolvedUrls, host, base, }: { startupTime: number; resolvedUrls: ResolvedServerUrls; host: string | boolean; base: string; }): string; /** Display custom dev server shortcuts */ export declare function serverShortcuts({ key, label }: { key: string; label: string; }): string; export declare function telemetryNotice(): string; export declare function telemetryEnabled(): string; export declare function preferenceEnabled(name: string): string; export declare function preferenceSet(name: string, value: any): string; export declare function preferenceGet(name: string, value: any): string; export declare function preferenceDefaultIntro(name: string): string; export declare function preferenceDefault(name: string, value: any): string; export declare function preferenceDisabled(name: string): string; export declare function preferenceReset(name: string): string; export declare function telemetryDisabled(): string; export declare function telemetryReset(): string; export declare function fsStrictWarning(): string; export declare function prerelease({ currentVersion }: { currentVersion: string; }): string; export declare function success(message: string, tip?: string): string; export declare function failure(message: string, tip?: string): string; export declare function cancelled(message: string, tip?: string): string; export declare function getNetworkLogging(host: string | boolean): 'none' | 'host-to-expose' | 'visible'; export declare function formatConfigErrorMessage(err: ZodError): string; export declare function formatErrorMessage(err: ErrorWithMetadata, showFullStacktrace: boolean): string; export declare function printHelp({ commandName, headline, usage, tables, description, }: { commandName: string; headline?: string; usage?: string; tables?: Record; description?: string; }): void;