import { HttpApiWrapperConfig, RequestHandler } from "../../packages/level2/meta/server/web/http-api-wrapper";
import { PageProps, HttpWrapperConfig } from "../../packages/level2/common/web/page-props";
import type { ElementNode } from "../../packages/fd-toolbox/types/react-types";
export declare function httpWrapper(handler: (props: PageProps) => Promise<ElementNode>, config?: HttpWrapperConfig): (props: PageProps) => Promise<import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | (string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode>)>;
export declare function httpApiWrapper(handler: RequestHandler, config?: HttpApiWrapperConfig): (request: Request, { params }: {
    params: Promise<Partial<import("../../packages/level2/meta/server/web/dynamic-params").QueryParams>>;
}) => Promise<Response>;
