import Elysia from 'elysia'; import type { HMRState } from '../dev/clientManager'; export declare const hmr: (hmrState: HMRState, manifest: Record, moduleServerHandler?: (pathname: string) => Promise | Response | undefined) => Elysia<"", { decorator: {}; store: {}; derive: {}; resolve: {}; }, { typebox: {}; error: {}; }, { schema: {}; standaloneSchema: {}; macro: {}; macroFn: {}; parser: {}; response: {}; }, { "@src": { "*": { get: { body: unknown; params: { "*": string; } & {}; query: unknown; headers: unknown; response: { 200: Response; 422: { type: "validation"; on: string; summary?: string; message?: string; found?: unknown; property?: string; expected?: string; }; }; }; }; }; } & { "@stub": { "*": { get: { body: unknown; params: { "*": string; } & {}; query: unknown; headers: unknown; response: { 200: Response; 422: { type: "validation"; on: string; summary?: string; message?: string; found?: unknown; property?: string; expected?: string; }; }; }; }; }; } & { "@hmr": { "*": { get: { body: unknown; params: { "*": string; } & {}; query: unknown; headers: unknown; response: { 200: Response; 422: { type: "validation"; on: string; summary?: string; message?: string; found?: unknown; property?: string; expected?: string; }; }; }; }; }; } & { "@ng": { "*": { get: { body: unknown; params: { "*": string; } & {}; query: unknown; headers: unknown; response: { 200: Response; 422: { type: "validation"; on: string; summary?: string; message?: string; found?: unknown; property?: string; expected?: string; }; }; }; }; }; } & { hmr: { subscribe: { body: {}; params: {}; query: {}; headers: {}; response: { 200: Response; }; }; }; } & { "hmr-status": { get: { body: unknown; params: {}; query: unknown; headers: unknown; response: { 200: Response | { connectedClients: number; isRebuilding: boolean; manifestKeys: string[]; rebuildCount: number; rebuildQueue: string[]; timestamp: number; }; }; }; }; }, { derive: {}; resolve: {}; schema: {}; standaloneSchema: {}; response: {}; }, { derive: {}; resolve: {}; schema: {}; standaloneSchema: {}; response: { 200: Response; }; }>;