import type { BaseConfig, BaseProps, ScrollInViewProps, WithScrolledInViewProps } from '@studiometa/js-toolkit'; import { AbstractScrollAnimation } from './AbstractScrollAnimation.js'; export interface ScrollAnimationTargetProps extends BaseProps { $options: WithScrolledInViewProps['$options']; } /** * ScrollAnimationTarget class. * * A component that animates based on scroll progress from a parent `ScrollAnimationTimeline`. * Each target can have its own animation keyframes and play range. * * @example * ```html *
*
* Animated content *
*
* ``` */ export declare class ScrollAnimationTarget extends AbstractScrollAnimation { /** * Config. */ static config: BaseConfig; /** * Local damped current values. */ dampedCurrent: ScrollInViewProps['dampedCurrent']; /** * Local damped progress. */ dampedProgress: ScrollInViewProps['dampedCurrent']; /** * Compute local damped progress. */ scrolledInView(props: ScrollInViewProps): void; }