import { Variants } from "@gentleduck/variants"; //#region src/variants/anim-variants.d.ts /** * Consistent transition + GPU-accelerated pseudo-element easing/duration across components. * * `pseudo: 'animate'` lets `:before`/`:after` inherit the host's transition duration and * easing. It intentionally does NOT set `will-change` — promoting a pseudo-element to a * GPU layer eagerly wastes memory on elements that may never animate. Let the browser * decide via `transition-gpu`. */ declare const AnimVariants: (props?: Variants.Props<{ readonly alive: { readonly default: "transition-all transition-discrete duration-[200ms,150ms] ease-(--gentleduck-motion-ease)"; }; readonly pseudo: { readonly animate: "[&:before,&:after]:transition-gpu [&:before,&:after]:duration-[inherit] [&:before,&:after]:ease-[inherit]"; readonly default: ""; }; }, { readonly alive: "default"; readonly pseudo: "default"; }> | undefined) => string; type AnimVariantsProps = Variants.VariantProps; //#endregion export { AnimVariantsProps as n, AnimVariants as t };