/** * Framer Motion runtime resolved lazily for the opt-in row-reorder animation. * `motionDiv` is `motion.div`; `LayoutGroup` coordinates the FLIP. */ export interface TableMotionRuntime { motionDiv: any; LayoutGroup: any; } /** * Lazily loads `framer-motion` — via a dynamic `import()` so it lands in its own * chunk — ONLY when row-reorder animation is enabled. Consumers that never set * `animateRowReorder` never pull framer-motion into their bundle (the default * `Table`/`TableRow` path stays motion-free). * * Returns `null` until the module resolves (and always when `enabled` is false); * callers render plain DOM in the meantime, so the first paint is non-animated * and the FLIP kicks in once the chunk has loaded. */ export declare function useTableMotion(enabled: boolean): TableMotionRuntime | null; //# sourceMappingURL=use-table-motion.d.ts.map