/** * Builds AMP for Email form markup: form with action-xhr, fields, submit-success, submit-error. * AMP email disallows: action, name, target, verify-xhr. Only action-xhr is used. */ import React from "react"; import type { AmpFormElement } from "../../../typings"; export type BuildAmpFormHtmlOptions = { containerWidth: number; /** Padding applied to the AMP wrapper (inside amp, not mj-text). */ padding?: { top: number; right: number; bottom: number; left: number; }; /** Background color applied to the AMP wrapper. */ backgroundColor?: string; actionXhr: string; }; export declare function buildAmpFormHtml(node: AmpFormElement, options: BuildAmpFormHtmlOptions): { content: React.ReactNode; style: string; };