/** based on framer-motion@4.1.17, Copyright (c) 2018 Framer B.V. */ import type { VisualElement } from '../../../render/types'; export type LeadAndFollow = [VisualElement | undefined, VisualElement | undefined]; export interface LayoutStack { add(element: VisualElement): void; remove(element: VisualElement): void; getLead(): VisualElement | undefined; updateSnapshot(): void; clearSnapshot(): void; animate(element: VisualElement, crossfade: boolean): void; updateLeadAndFollow(): void; } declare function layoutStack(): LayoutStack; export { layoutStack }; //# sourceMappingURL=stack.d.ts.map