import { FoxpageRequestOptions } from '@foxpage/foxpage-types';
/**
 * request handler
 * @returns html
 */
export declare const routerHandler: () => (opt: FoxpageRequestOptions) => Promise<string | {
    html: string | undefined;
    dsl: import("@foxpage/foxpage-types").ContextPage | undefined;
    vars: Record<string, unknown> & {
        has?: ((key: string) => boolean) | undefined;
    };
    contextValue: import("@foxpage/foxpage-types").Context;
} | null | undefined>;
