import ' rollup-plugin-inject-process-env'; /** * The div the widget renders into. * * App.tsx looks this up first and only appends its own if the host page did not already * provide one -- which is what makes embedding possible at all. */ export declare const APP_ELEMENT_ID = "xapp-form-widget"; /** * Class the host page puts on its own `#xapp-form-widget` div to opt into inline rendering. * * ```html *
* ``` */ export declare const EMBEDDED_CLASS = "embedded"; /** * Namespaced alias for {@link EMBEDDED_CLASS}. * * `embedded` is short enough that a host page's own CSS framework may already style it; * this gives those customers a class that cannot collide. */ export declare const XAPP_EMBEDDED_CLASS = "xapp-embedded"; /** * Is the widget rendering inside a container the host page laid out and sized itself? * * Embedded, the customer's div is the frame: the widget must fill it rather than open a * fixed, full-viewport modal over the page. * * @param element - the container to inspect; defaults to looking up {@link APP_ELEMENT_ID}. */ export declare function isEmbedded(element?: Element | null): boolean;