import { VDOM } from "../../ui/Widget"; import { StyledContainerBase, StyledContainerConfig } from "../../ui/Container"; import { RenderingContext } from "../../ui/RenderingContext"; import { Instance } from "../../ui/Instance"; import { BooleanProp, StringProp } from "../../ui/Prop"; export interface ScrollerConfig extends StyledContainerConfig { horizontal?: BooleanProp; vertical?: BooleanProp; scrollIntoViewSelector?: StringProp; } export declare class Scroller extends StyledContainerBase { baseClass: string; horizontal?: any; vertical?: any; scrollIntoViewSelector?: any; constructor(config?: ScrollerConfig); init(): void; declareData(...args: any[]): void; render(context: RenderingContext, instance: Instance, key: string): import("react/jsx-runtime").JSX.Element; } interface HScrollerComponentProps { widget: Scroller; data: any; children?: any; } interface HScrollerComponentState { scrollable: boolean; } export declare class HScrollerComponent extends VDOM.Component { el?: HTMLElement | null; clip?: HTMLElement | null; scroller?: HTMLElement | null; content?: HTMLElement | null; unsubscribeResize?: () => void; doScroll?: any; stopScrolling: () => void; scrollLeft: (e: any) => void; scrollRight: (e: any) => void; scrollUp: (e: any) => void; scrollDown: (e: any) => void; constructor(props: HScrollerComponentProps); render(): import("react/jsx-runtime").JSX.Element; componentDidMount(): void; componentDidUpdate(): void; componentWillUnmount(): void; scroll(e: any, direction: string): void; scrollIntoView(): void; } export declare class HScroller extends Scroller { } export declare class VScroller extends Scroller { } export {}; //# sourceMappingURL=Scroller.d.ts.map