import { LitElement } from 'lit'; export interface OkContactFormLabels { /** Label del campo Nombre. */ nameLabel: string; /** Label del campo Email. */ emailLabel: string; /** Label del campo Asunto (opcional). */ subjectLabel: string; /** Label del campo Mensaje. */ messageLabel: string; /** Texto del botón mientras se envía. */ sending: string; /** Error: nombre obligatorio. */ errorNameRequired: string; /** Error: email obligatorio. */ errorEmailRequired: string; /** Error: email con formato inválido. */ errorEmailInvalid: string; /** Error: mensaje obligatorio. */ errorMessageRequired: string; /** Error: el POST falló (respuesta no-ok). */ errorSendFailed: string; /** Error: el POST falló por red/conexión. */ errorNetwork: string; } export declare class OkContactForm extends LitElement { static styles: import("lit").CSSResult; /** Título opcional sobre el formulario. */ heading?: string; /** Texto del botón de envío. */ submitLabel: string; /** URL opcional: si se da, el envío válido hace además POST nativo (fetch). */ action?: string; /** Texto mostrado tras un envío correcto. */ successMessage: string; /** Textos i18n (default inglés); pasa solo las claves que quieras sobreescribir. */ labels: Partial; private get t(); private values; private errors; private sent; private sending; private static EMAIL_RE; private onInput; private validate; private onSubmit; private markSent; render(): unknown; } declare global { interface HTMLElementTagNameMap { 'ok-contact-form': OkContactForm; } }