import { type HumanitySignals } from '../utils/humanity-signals'; /** * useHumanitySignals — client primitive backing the invisible bot-protection * layer. Owns the honeypot ref + a mount timestamp, and exposes the * props to render the field plus a getter that produces the wire object to * merge into a form's POST body. Reused by every public form (contact, * waitlist, ticket, review) so the signal shape lives in exactly one place. * * Usage: * const { honeypotInputProps, getSignals, resetSignals } = useHumanitySignals() * // render: * // submit: fetch(url, { body: JSON.stringify({ ...formData, ...getSignals() }) }) * // after a successful submit: resetSignals() * * The two signals are origin-independent (they ride in the body), so they keep * working when the form is embedded behind a reverse-proxy / prefixed URL. */ export declare function useHumanitySignals(): { readonly honeypotInputProps: { readonly ref: import("react").RefObject; readonly name: "contact_url_confirm"; }; readonly getSignals: () => HumanitySignals; readonly resetSignals: () => void; }; //# sourceMappingURL=use-humanity-signals.d.ts.map