export declare const AppContainerFinderProps: { "data-corvaui-app-container-root": string; }; export declare const AppHeaderFinderProps: { "data-corvaui-app-container-header": string; }; type MaybeNode = HTMLElement | null | undefined; export declare const findAppContainerElement: (target?: MaybeNode) => HTMLElement | undefined; export declare const findAppHeaderElement: (target?: MaybeNode) => HTMLElement | undefined; type AnchorElLike = HTMLElement | { getBoundingClientRect: HTMLElement['getBoundingClientRect']; }; /** * Popper/Popover default their mount container to the closest ancestor Modal root reachable from * `anchorEl` (resolving it first if it's a function). An outer Modal keeps a focus trap active on * its own DOM subtree; if the popper mounts at the usual `document.body` default, it ends up * outside that subtree and the trap keeps yanking focus back out, so inputs inside the popper * never receive it. Deliberately targets the Modal itself (not e.g. the closest app container) — * Modal's root spans the full viewport with `overflow: auto`, so mounting there behaves like * `document.body` for clipping purposes, unlike an app's own (often small, `overflow: hidden`) * container. Returns `undefined` (letting the caller fall back to `document.body`) when `anchorEl` * isn't a real HTMLElement or isn't inside a Modal. */ export declare const getDefaultPopperContainer: (anchorEl?: AnchorElLike | (() => AnchorElLike) | null) => HTMLElement | undefined; export {}; //# sourceMappingURL=utils.d.ts.map