UNPKG

@foxpage/foxpage-node-sdk

Version:

foxpage node sdk

14 lines (13 loc) 480 B
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>;