import { ViewAnimationOptions, ViewAnimationType } from './types';
/**
 * Animate the pseudo-element layers the browser has generated for a named
 * view transition boundary, either retiming the browser's animations or
 * replacing its crossfade with custom keyframes.
 *
 * Ported from framer-motion's AnimateView (`animate-view-layers.mjs`).
 */
export declare function animateViewLayers(name: string, animationType: ViewAnimationType, { transition, onAnimationStart, onAnimationComplete, ...props }: ViewAnimationOptions, types: string[]): () => void;
