UNPKG

astro

Version:

Astro is a modern site builder with web best practices, performance, and DX front-of-mind.

9 lines (8 loc) 593 B
import type { SSRResult } from '../../types/public/internal.js'; import type { TransitionAnimationPair, TransitionAnimationValue } from '../../types/public/view-transitions.js'; export declare function createTransitionScope(result: SSRResult, hash: string): string; export declare function renderTransition(result: SSRResult, hash: string, animationName: TransitionAnimationValue | undefined, transitionName: string): string; export declare function createAnimationScope(transitionName: string, animations: Record<string, TransitionAnimationPair>): { scope: string; styles: string; };