import React from "react"; export interface Props { children: React.ReactNode; } /** * Presence exit animation of the element * All direct children of AnimatePresence must be , and each one must have a unique key (index will NOT work) * Caveat: insert and remove element by index during animation do not work as expected * PS: This component will most likely have bugs, so please fix them if you find any. ⛑️ */ export declare const AnimatePresence: ({ children }: Props) => React.JSX.Element; export declare function invariant(condition: any, message: string): asserts condition;