/** * Enter animation for floating elements (fade + scale, 120ms). * * The animation class is removed on animationend: a retained `transform` * (even identity scale) makes the element the containing block for nested * absolutely-positioned popups, which breaks floating-ui positioning of * submenus rendered inside it. */ import type { Action } from 'svelte/action'; type GetAnchor = () => Element | undefined; /** * Animate this element in. With an anchor getter, the scale origin is * measured from the anchor; without one, set a static origin at the call * site (e.g. Tailwind `origin-top-right`). */ export declare const popupEnter: Action; /** * Variant for floating elements rendered by a component we can't put an * action on (e.g. Floating). Place on an empty `display: contents` marker * inside the floating element; animates the marker's parent. */ export declare const popupEnterParent: Action; export {};