import type { BubblingEventHandler, Int32, Double, Float } from 'react-native/Libraries/Types/CodegenTypes'; import type { ProcessedColorValue, ViewProps, HostComponent } from 'react-native'; export type OnAnimationFinishEvent = Readonly<{ isCancelled: boolean; }>; export type AnimationFailureEvent = Readonly<{ error: string; }>; type AnimationLoadedEvent = Readonly<{}>; type ColorFilterStruct = Readonly<{ keypath: string; color: ProcessedColorValue; }>; type TextFilterIOSStruct = Readonly<{ keypath: string; text: string; }>; type TextFilterAndroidStruct = Readonly<{ find: string; replace: string; }>; export interface NativeProps extends ViewProps { resizeMode?: string; renderMode?: string; sourceName?: string; sourceJson?: string; sourceURL?: string; sourceDotLottieURI?: string; imageAssetsFolder?: string; progress?: Float; speed?: Double; loop?: boolean; autoPlay?: boolean; enableMergePathsAndroidForKitKatAndAbove?: boolean; enableSafeModeAndroid?: boolean; hardwareAccelerationAndroid?: boolean; cacheComposition?: boolean; colorFilters?: ReadonlyArray; dummy?: Readonly<{ dummy: boolean; }>; textFiltersAndroid?: ReadonlyArray; textFiltersIOS?: ReadonlyArray; onAnimationFinish?: BubblingEventHandler; onAnimationFailure?: BubblingEventHandler; onAnimationLoaded?: BubblingEventHandler; } type LottieViewNativeComponentType = HostComponent; interface NativeCommands { play: (viewRef: React.ElementRef, startFrame: Int32, endFrame: Int32) => void; reset: (viewRef: React.ElementRef) => void; pause: (viewRef: React.ElementRef) => void; resume: (viewRef: React.ElementRef) => void; } export declare const Commands: NativeCommands; declare const _default: HostComponent; export default _default; //# sourceMappingURL=LottieAnimationViewNativeComponent.d.ts.map