import type { ReactFormState } from 'react-dom/client'; import type { Config } from '../../config.js'; export declare function getInput(req: Request, config: Omit, 'vite'>, temporaryReferences: unknown, decodeReply: (body: string | FormData, options?: object) => Promise, decodeAction: (body: FormData) => Promise<() => Promise> | null, decodeFormState: (actionResult: unknown, body: FormData) => Promise, loadServerAction: (id: string) => Promise): Promise<({ type: "rsc"; rscPath: string; rscParams: unknown; } | { type: "call"; fn: (...args: unknown[]) => Promise; args: unknown[]; } | { type: "http"; tryAction?: () => Promise<{ action: true; formState: unknown; } | { action: false; formData: FormData; }>; }) & { pathname: string; req: Request; etags?: import("../utils-isomorphic/etags.js").Etags; }>;