export interface CreatePopupProps { /** Popup shell style — centered modal or a slide-over panel from the right edge. */ variant: 'modal' | 'sidebar'; title: string; onClose: () => void; children: React.ReactNode; /** Optional decorative icon shown in a circular badge next to the title. */ icon?: React.ReactNode; /** Custom width override (relative units — vw/%/min(), never px). Omit for the compact default. */ width?: string; /** * Maximum popup height (relative units — vh/%/min(), never px). Omit for the compact * default. This is always a CAP, never a fixed height — the panel shrinks to fit its * content and only grows up to this value, so a short form doesn't get stretched into * a mostly-empty box. */ height?: string; /** * Whether to render the built-in title bar (icon + title + close button) and the * body's own padding. Defaults to `false` because `children` is almost always a * form that already renders its own complete header/actions (e.g. * `MasterPatternViewCreateForm`, whose form has a title, Cancelar/Guardar and its * own spacing) — the popup has no way to know whether `children` self-paints a * header, so it assumes it does. Set to `true` only when `children` is genuinely * headerless and should rely on the popup's own title bar instead. Escape-to-close * still works either way; the host's own Cancelar just needs to call the same * `onClose`. * @default false */ showHeader?: boolean; } /** * Popup chrome for LookupField's inline "create new" affordance. * Owns the overlay, header (title + close button), and Escape-to-close behavior. * The host supplies the form content via `children` — this component knows nothing * about what's being created. */ export declare function CreatePopup({ variant, title, onClose, children, icon, width, height, showHeader }: CreatePopupProps): import("react").ReactPortal; //# sourceMappingURL=CreatePopup.d.ts.map