import * as _angular_core from '@angular/core'; /** Creative named page transitions for `dga-page-transition`. */ declare const DGA_PAGE_TRANSITION_NAMES: readonly ["fade-up", "slide-stack", "curtain-wipe", "zoom-blur", "book-flip", "circle-reveal", "shared-axis", "glitch", "iris-open", "split-reveal", "stagger-cascade", "liquid-swipe", "push-depth", "skew-slide", "bounce-in", "film-strip", "portal-warp", "ripple-expand", "origami-fold", "swipe-cards", "none"]; type DgaPageTransitionName = (typeof DGA_PAGE_TRANSITION_NAMES)[number]; /** * Easy page / content transition wrapper. * * ```html * * * * ``` * * Triggers: Angular `NavigationEnd`, or a change to `key` (playground / content swap). * Progressive enhancement: sets `view-transition-name: dga-page` so apps using * `withViewTransitions()` get named snapshot animations. Keyframe enter runs as fallback. * Honors `prefers-reduced-motion` and DGA a11y `reduce-motion`. */ declare class DgaPageTransition { private readonly host; private readonly doc; private readonly destroyRef; private readonly router; /** Named creative transition. Unknown values resolve to `none`. */ readonly name: _angular_core.InputSignal; /** Duration in milliseconds (also drives `--dga-pt-ms`). */ readonly duration: _angular_core.InputSignalWithTransform; /** Skip all motion. */ readonly disabled: _angular_core.InputSignalWithTransform; /** * Bump this to re-play the enter animation (content swaps / gallery playground). * For View Transition snapshots, wrap the key update in `document.startViewTransition`. */ readonly key: _angular_core.InputSignal; readonly phase: _angular_core.WritableSignal<"idle" | "enter">; readonly resolvedName: _angular_core.Signal<"fade-up" | "slide-stack" | "curtain-wipe" | "zoom-blur" | "book-flip" | "circle-reveal" | "shared-axis" | "glitch" | "iris-open" | "split-reveal" | "stagger-cascade" | "liquid-swipe" | "push-depth" | "skew-slide" | "bounce-in" | "film-strip" | "portal-warp" | "ripple-expand" | "origami-fold" | "swipe-cards" | "none">; readonly durationCss: _angular_core.Signal; private htmlAttr; private keyPrimed; constructor(); /** Re-trigger the enter animation (e.g. from a Play control). */ play(): void; protected onAnimationEnd(event: AnimationEvent): void; private shouldReduceMotion; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } export { DGA_PAGE_TRANSITION_NAMES, DgaPageTransition }; export type { DgaPageTransitionName };