import type { ContentSizeChangedEvent as LynxContentSizeChangedEvent, ScrollEndEvent as LynxScrollEndEvent, ScrollEvent as LynxScrollEvent, ScrollToLowerEvent as LynxScrollToLowerEvent, ScrollToUpperEvent as LynxScrollToUpperEvent } from '@lynx-js/types'; import type { ScrollViewProps as TaroScrollViewProps } from '@tarojs/components'; type ScrollOrientation = 'vertical' | 'horizontal'; type LynxScrollViewEvent = LynxScrollToUpperEvent | LynxScrollToLowerEvent | LynxScrollEvent | LynxScrollEndEvent | LynxContentSizeChangedEvent; export type MappableTaroScrollViewProps = Omit & { enableScroll?: boolean; scrollOrientation?: ScrollOrientation; scrollBarEnable?: boolean; initialScrollOffset?: number; initialScrollToIndex?: number; onContentSizeChanged?: (event: ScrollViewEvent) => void; }; export type ScrollViewEventDetail = TaroScrollViewProps.onScrollDetail; export type ScrollViewEvent = { type: string; timeStamp: number; target: { id: string; tagName: string; dataset: Record; }; currentTarget: { id: string; tagName: string; dataset: Record; }; detail: ScrollViewEventDetail; preventDefault: () => void; stopPropagation: () => void; }; type MapScrollViewPropsResult = { mapped: Record; scrollViewId: string; scrollOffset: number | undefined; scrollWithAnimation: boolean; }; export declare function mapScrollViewProps(props: MappableTaroScrollViewProps): MapScrollViewPropsResult; export declare function toScrollViewEvent(event: LynxScrollViewEvent, type: string, scrollViewId: string): ScrollViewEvent; export declare function toScrollViewEventDetail(event: LynxScrollViewEvent): ScrollViewEventDetail; export {}; //# sourceMappingURL=map.d.ts.map