/** * Events the VTBA form-builder runtime (ac-react-app formBuilder.ts) dispatches on * the form's `[data-vtba-form]` root. Both bubble. * * `success` is cancelable: a listener that calls `preventDefault()` takes over the * success UI and the form's success redirect is skipped. `success` only fires * once HubSpot has accepted the submission. * * The runtime keeps its own copy of these names (so it builds against older * package versions); keep the two in sync. */ export declare const VTBA_FORM_EVENTS: { readonly success: "vtba-form:success"; readonly error: "vtba-form:error"; }; export interface VtbaFormSuccessDetail { formId: string; trackingName: string; } export interface VtbaFormErrorDetail { formId: string; /** HTTP status of the submission; 0 for a network error. */ status: number; }