/**
 * U2 Form Node Routes - Widget-based form node rendering
 *
 * These routes serve form nodes with SSR + hydration for the widget-based
 * universal login experience.
 *
 * Routes:
 * - GET /u2/forms/:formId/nodes/:nodeId - Render form node with widget SSR
 * - POST /u2/forms/:formId/nodes/:nodeId - Process form submission
 */
import { OpenAPIHono } from "@hono/zod-openapi";
import { Bindings, Variables } from "../../types";
export declare const u2FormNodeRoutes: OpenAPIHono<{
    Bindings: Bindings;
    Variables: Variables;
}, {
    "/:formId/nodes/:nodeId": {
        $get: {
            input: {
                param: {
                    formId: string;
                    nodeId: string;
                };
            } & {
                query: {
                    state: string;
                };
            };
            output: {};
            outputFormat: string;
            status: 200;
        } | {
            input: {
                param: {
                    formId: string;
                    nodeId: string;
                };
            } & {
                query: {
                    state: string;
                };
            };
            output: {};
            outputFormat: string;
            status: 404;
        };
    };
} & {
    "/:formId/nodes/:nodeId": {
        $post: {
            input: {
                param: {
                    formId: string;
                    nodeId: string;
                };
            } & {
                query: {
                    state: string;
                };
            } & {
                json: {
                    data: Record<string, any>;
                };
            };
            output: {};
            outputFormat: string;
            status: 404;
        } | {
            input: {
                param: {
                    formId: string;
                    nodeId: string;
                };
            } & {
                query: {
                    state: string;
                };
            } & {
                json: {
                    data: Record<string, any>;
                };
            };
            output: {
                screen: any;
                branding: any;
            } | {
                redirect: string;
            };
            outputFormat: "json";
            status: 200;
        };
    };
}, "/">;
