import { ContentItem, ContentType, CustomFieldDef, PopupDirection, PopupLanguage, PopupModal } from './types'; /** * What a starter form is seeded with, language-wise. Takes a language, or the * direction that used to stand in for one — the callers that pass `'rtl'` * predate the split and mean Hebrew by it. */ export type LanguageSeed = PopupLanguage | PopupDirection; export declare function makeId(prefix?: string): string; /** A blank content item of the given type, with the fields that type needs. */ export declare function makeContentItem(type: ContentType, order: number): ContentItem; /** * A content item pre-filled from a host-supplied custom field. Starts from the * blank item for the mapped type, then locks the submit `key` to the field's * (the host's source of truth) and carries over its label, options, and * required flag. */ export declare function makeContentItemFromField(field: CustomFieldDef, order: number): ContentItem; /** * A new popup with attractive defaults: the `image-behind` design, a neutral * image, rounded corners, and generic starter copy. Looks good out of the box * while staying easy to rewrite for the host's own campaign. * * Placement is written out as `inline` even though that's the default, so the * emitted JSON says what it does. The mount layer that only a modal uses is set * to its inert values to match: open immediately, no frequency cap, no close * button. Switching to `modal` in the builder brings those controls back. */ export declare function makePopup(name?: string, language?: LanguageSeed): PopupModal; /** * A polished, ready-to-show starter template: a full-bleed image with the form * laid over it (the `image-behind` design), warm copy, and a crisp white CTA. * Handy as the "this is what good looks like" example. */ export declare function makeExamplePopup(language?: LanguageSeed): PopupModal;