export type CacheStrategy = 'static-immutable' | 'swr' | 'dynamic-no-store' | 'streaming-no-store' | 'private-no-store'; export type RouteSymbol = 'static' | 'ppr' | 'dynamic' | 'streaming' | 'error'; export interface RouteLogEntry { method: string; path: string; status: number; duration: number; cacheStrategy?: CacheStrategy | string; /** Number of markers found in the rendered HTML */ islandCount?: number; errorMessage?: string; } export interface ActionLogEntry { name: string; duration: number; status: 'success' | 'error' | 'cancelled' | 'rejected' | 'queued'; islandId?: string; raceStrategy?: string; errorMessage?: string; } export interface HmrLogEntry { filename: string; event: string; } export declare const nexusLogger: { /** * Logs an SSR route render to the terminal. * Called by @nexus_js/server after each page response. */ route(entry: RouteLogEntry): void; /** * Logs a Server Action invocation. * Called by @nexus_js/server/actions after each action resolves/rejects. */ action(entry: ActionLogEntry): void; /** * Logs a file-change event from the dev-mode watcher. */ hmr(entry: HmrLogEntry): void; /** * Startup banner. Printed by the CLI after the server port is bound. * The server itself does NOT call this — the CLI (or host) controls when/whether to print. */ banner(opts: { port: number; version: string; elapsed: number; dev: boolean; }): void; }; export type { RouteLogEntry as NexusRouteLog, ActionLogEntry as NexusActionLog }; //# sourceMappingURL=logger.d.ts.map