import { type WebPopupFormSubmitHandler } from 'smart-blocks-utils';
/**
 * The reader's `onSubmitForm` handler: POST the slot's payload to the bound
 * form's submit endpoint. Throws on transport errors and unrecognized
 * results — the form slot shows its generic retryable error then; the
 * reader doesn't log, so the failure is recorded here before rethrowing.
 */
export declare const submitSubscriptionForm: WebPopupFormSubmitHandler;
/**
 * Fire-and-forget view stat for a popup-embedded form — the denominator of
 * the form's conversion rate. Never blocks or breaks the popup itself.
 */
export declare const recordSubscriptionFormView: (formCode: string, hwid: string) => void;
