import type { ResolvedServerStatsConfig } from '../types.js'; export declare function deriveEndpointPaths(endpoint: string | false | undefined, devToolbar?: { enabled?: boolean; debugEndpoint?: string; dashboard?: boolean; dashboardPath?: string; }): { statsEndpoint: string | false; debugEndpoint: string | undefined; }; export declare function computeDashboardPath(devToolbar?: { enabled?: boolean; dashboard?: boolean; dashboardPath?: string; }, depsAvailable?: boolean): string | undefined; export declare function collectRegisteredPaths(statsEndpoint: string | false, debugEndpoint?: string, dashboardPath?: string, domain?: string): string[]; export declare function checkDashboardDeps(appImport: (name: string) => Promise): Promise; export declare function logMissingDeps(missing: string[]): void; export declare function warnAboutAuthMiddleware(config: ResolvedServerStatsConfig, makePath: (dir: string, file: string) => string): void; /** * Warn when `domain` is combined with the Edge toolbar. * * The `@serverStats()` tag emits *relative* URLs (`/admin/api/server-stats` * etc.), so a toolbar rendered on any other host polls its own origin and gets * a 404 on every tick. Nothing breaks visibly — the bar just stays empty — so * say it out loud at boot. */ export declare function warnAboutDomainWithToolbar(config: ResolvedServerStatsConfig): void; /** * Announce that the dashboard is live in production. * * Deliberately `log.warn` rather than the `log.block` its neighbours use: * `log.block` is suppressed unless `verbose` is on, and this is the one message * that must reach every operator who enables production mode. It only fires * after routes were really registered, so it never over-promises. */ export declare function announceProductionMode(config: ResolvedServerStatsConfig, paths: string[]): void; export declare function warnAboutSessionMiddleware(makePath: (dir: string, file: string) => string): void; export declare function logDashboardError(category: 'missing-dep' | 'timeout' | 'unknown', err: unknown): void;