import type { StatefulAnimationMetadata } from '../../core'; import type { AnimatableStyle } from '../../factories'; export declare const useAnimationTrigger: (metadata: StatefulAnimationMetadata | StatefulAnimationMetadata[], initialState?: "void" | T | (() => "void" | T) | undefined) => { style: ({ [x: string]: unknown; [x: number]: unknown; [x: symbol]: unknown; } & import("runtypes").RuntypeBrand<"styles"> & S) | import("react-native").Animated.WithAnimatedValue | null | undefined; state: "void" | T; setState: (state: T | ((prevState: "void" | T) => T)) => void; };