import { UIEvent } from "react"; export default class BasicScrollContainerUtil { static currentScrollTop: (id: string) => number; static scrollToTop: (containerId: string, smooth?: boolean) => void; static scrollToBottom: (containerId: string, smooth?: boolean) => void; static isOnBottom: (id: string) => boolean; static isOnBottomByScrollEvent: (event: UIEvent) => boolean; static isOnTop: (id: string) => boolean; static isOnTopByScrollEvent: (event: UIEvent) => boolean; static scrollToLeft: (containerId: any, smooth?: boolean) => void; static scrollToRight: (containerId: any, smooth?: boolean) => void; /** * @param containerId * @param percent [0,1] * @param smooth */ static scrollToBottomPercent: (containerId: any, percent: any, smooth?: boolean) => void; /** * @param containerId * @param percent [0,1] * @param smooth */ static scrollToRightPercent: (containerId: any, percent: any, smooth?: boolean) => void; }