import { codegenNativeComponent, type ViewProps, type CodegenTypes, type ColorValue } from 'react-native'; export type OnVisibleIndicesChange = { visibleStartIndex: CodegenTypes.Int32; visibleEndIndex: CodegenTypes.Int32; }; export type OnViewableIndicesChange = { viewableStartIndex: CodegenTypes.Int32; viewableEndIndex: CodegenTypes.Int32; }; export type OnStartReached = {}; export type OnEndReached = {}; export type OnRefresh = {}; export type OnRefreshSettle = {}; export type OnScroll = { contentOffsetX: CodegenTypes.Double; contentOffsetY: CodegenTypes.Double; }; export type OnDragStart = { index: CodegenTypes.Int32; }; export type OnDragEnd = { fromIndex: CodegenTypes.Int32; toIndex: CodegenTypes.Int32; }; type ShadowlistViewComponentType = ReturnType>; interface NativeCommands { setStartReachedEnabled: (viewRef: React.ComponentRef, enabled: boolean) => void; setEndReachedEnabled: (viewRef: React.ComponentRef, enabled: boolean) => void; scrollToIndex: (viewRef: React.ComponentRef, index: CodegenTypes.Int32) => void; scrollToOffset: (viewRef: React.ComponentRef, offset: CodegenTypes.Double, animated: boolean) => void; scrollToEnd: (viewRef: React.ComponentRef, animated: boolean) => void; } interface NativeProps extends ViewProps { elementsAllKeys: string[]; inverted: boolean; horizontal: boolean; stickyHeader: boolean; stickyFooter: boolean; autoHideHeader: boolean; autoHideFooter: boolean; dragEnabled: boolean; stickyHeaderIndices: ReadonlyArray; columns: CodegenTypes.Int32; containerOffsetIndex: CodegenTypes.Int32; contentInsetBottom: CodegenTypes.Double; refreshEnabled: boolean; refreshing: boolean; refreshColor?: ColorValue; startReachedThreshold: CodegenTypes.Double; endReachedThreshold: CodegenTypes.Double; viewablePercentThreshold: CodegenTypes.Double; snapToItem: boolean; snapToAlignment: CodegenTypes.Int32; readonly onVisibleIndicesChange?: CodegenTypes.DirectEventHandler; readonly onViewableIndicesChange?: CodegenTypes.DirectEventHandler; readonly onStartReached?: CodegenTypes.DirectEventHandler; readonly onEndReached?: CodegenTypes.DirectEventHandler; readonly onScroll?: CodegenTypes.DirectEventHandler; readonly onRefresh?: CodegenTypes.DirectEventHandler; readonly onRefreshSettle?: CodegenTypes.DirectEventHandler; readonly onDragStart?: CodegenTypes.DirectEventHandler; readonly onDragEnd?: CodegenTypes.DirectEventHandler; } export declare const Commands: NativeCommands; declare const _default: import("react-native/types_generated/Libraries/Utilities/codegenNativeComponent").NativeComponentType; export default _default; //# sourceMappingURL=ShadowlistViewNativeComponent.d.ts.map