import type { DotLottie } from '@lottiefiles/dotlottie-web'; import type { LottieState } from './lottieState.svelte'; import type { ContainerWidth } from '../../@types/global'; export declare function map(n: number, start1: number, stop1: number, start2: number, stop2: number, withinBounds?: boolean): number; /** * Syncs the lottie player state with the component's lottie state */ export declare function syncLottieState(lottiePlayer: DotLottie, lottieState: LottieState): void; /** * Gets marker info by name */ export declare function getMarkerByName(lottiePlayer: DotLottie, markerName: string): { name: string; time: number; duration: number; } | undefined; /** * Gets the start and end frames for a marker */ export declare function getMarkerRange(lottiePlayer: DotLottie, markerName: string): [number, number]; /** * Calculates target frame based on progress and mode */ export declare function calculateTargetFrame(progress: number, mode: string, start: number, end: number): number; /** * Determines if mode is reverse */ export declare function isReverseMode(mode: string): boolean; /** * Creates render config with optimized defaults */ export declare function createRenderConfig(): { autoResize: boolean; devicePixelRatio: number; freezeOnOffscreen: boolean; }; /** * Checks if a value is null or undefined (empty marker check) */ export declare function isNullish(value: unknown): boolean; /** * Checks if a value is of type ContainerWidth */ export declare function isContainerWidth(string: string): string is ContainerWidth;