import type { TEasing } from "../tokens/Animations"; import { resolveEasing } from "./resolveEasing"; type TAnimationConfig = { duration: number; easing: ReturnType; }; type TComponentAnimationOverride = { duration?: number; easing?: TEasing; }; type TGlobalAnimation = { duration: number; easing: TEasing; }; /** * Resolves animation config with fallback to global animations. * Call outside worklets — pass result directly to withTiming. * * @example * // Global animations only: * withTiming(value, resolveAnimation(tokens.animations)); * * // Per-component with fallback: * withTiming(value, resolveAnimation(tokens.accordionAnimations, tokens.animations)); */ export declare const resolveAnimation: (componentConfigOrGlobal: TComponentAnimationOverride | TGlobalAnimation, globalConfig?: TGlobalAnimation) => TAnimationConfig; export {};