import * as u from './urx'; export declare const UP: "up"; export declare const DOWN: "down"; export declare const NONE: "none"; export declare type ScrollDirection = typeof UP | typeof DOWN | typeof NONE; export interface ListBottomInfo { bottom: number; offsetBottom: number; } export interface AtBottomParams { offsetBottom: number; scrollTop: number; viewportHeight: number; scrollHeight: number; } export declare type NotAtBottomReason = 'SIZE_INCREASED' | 'NOT_SHOWING_LAST_ITEM' | 'VIEWPORT_HEIGHT_DECREASING' | 'SCROLLING_UPWARDS' | 'NOT_FULLY_SCROLLED_TO_LAST_ITEM_BOTTOM'; export declare type AtBottomReason = 'SIZE_DECREASED' | 'SCROLLED_DOWN'; export declare type AtBottomState = { atBottom: false; notAtBottomBecause: NotAtBottomReason; state: AtBottomParams; } | { atBottom: true; state: AtBottomParams; atBottomBecause: AtBottomReason; scrollTopDelta: number; }; export declare const stateFlagsSystem: u.SystemSpec<[u.SystemSpec { scrollContainerState: u.Stream; scrollTop: u.Stream; viewportHeight: u.Stream; headerHeight: u.StatefulStream; fixedHeaderHeight: u.StatefulStream; fixedFooterHeight: u.StatefulStream; footerHeight: u.StatefulStream; scrollHeight: u.Stream; smoothScrollTargetReached: u.Stream; scrollTo: u.Stream; scrollBy: u.Stream; statefulScrollTop: u.StatefulStream; deviation: u.StatefulStream; scrollingInProgress: u.StatefulStream; }>], ([{ scrollContainerState, scrollTop, viewportHeight, headerHeight, footerHeight, scrollBy }]: [{ scrollContainerState: u.Stream; scrollTop: u.Stream; viewportHeight: u.Stream; headerHeight: u.StatefulStream; fixedHeaderHeight: u.StatefulStream; fixedFooterHeight: u.StatefulStream; footerHeight: u.StatefulStream; scrollHeight: u.Stream; smoothScrollTargetReached: u.Stream; scrollTo: u.Stream; scrollBy: u.Stream; statefulScrollTop: u.StatefulStream; deviation: u.StatefulStream; scrollingInProgress: u.StatefulStream; }]) => { isScrolling: u.StatefulStream; isAtTop: u.StatefulStream; isAtBottom: u.StatefulStream; atBottomState: u.Stream; atTopStateChange: u.Stream; atBottomStateChange: u.Stream; scrollDirection: u.StatefulStream; atBottomThreshold: u.StatefulStream; atTopThreshold: u.StatefulStream; scrollVelocity: u.StatefulStream; lastJumpDueToItemResize: u.StatefulStream; }>;