import type { StandardSchema } from "../../internal/schema.js"; import type { NativeFormRecord } from "./types.js"; import { Effect } from "effect"; export interface RemoteFormTransport { readonly binary_form_content_type?: string; readonly decoders?: Record unknown>; readonly navigate?: (location: string, invalidate_all: boolean) => PromiseLike | void; readonly remote_request?: (url: string, init?: RequestInit) => PromiseLike; readonly refresh?: () => PromiseLike | void; readonly serialize_binary_form?: (data: unknown, meta: { readonly remote_refreshes: readonly string[]; }) => { readonly blob: Blob; }; } export declare const SubmitRemoteForm: (form_obj: NativeFormRecord, input: unknown, decode_payload: (value: unknown) => unknown, remote_base: string, remote_transport: RemoteFormTransport, preflight_schema?: StandardSchema) => Effect.Effect, never>; export declare function get_remote_action_id(form_obj: NativeFormRecord): string | undefined;