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