export interface SubmitOptions { /** The full Formtress endpoint URL (e.g. https://app.formtress.com/api/f/your-form-id) */ url: string; /** The form data to send */ data: FormData; /** HTTP method (defaults to POST) */ method?: string; /** Additional headers to include */ headers?: Record; } export interface SubmitResult { ok: boolean; status: number; message: string; /** Optional redirect URL returned by the API */ redirect?: string; } /** * Submit form data to Formtress. */ export declare function submitForm(options: SubmitOptions): Promise;