import { PopupModal } from '../schema/index.ts'; /** * Report a form's structural errors to the console when it mounts. * * The renderer already says something when a submit fails, but that is late: it * needs a visitor to have filled the form in and pressed the button, and by then * the only symptom is the form's own `onError` message. A form whose endpoint * can't be dialled is broken from the moment it renders, and saying so at mount * puts the reason on screen for whoever is looking at the page — which, on a * form that has just been embedded, is usually the developer embedding it. * * Errors only. Warnings are advisory (an empty `urls` entry, a mailing-list * automation with no address) and a host with a few of those would learn to * scroll past the whole thing, which would cost them the errors too. */ export declare function reportFormProblems(popup: PopupModal): void;