import { Snippet } from 'svelte'; import { Styles } from '@wolf-tui/core'; import { ClassNameValue } from '../styles/index.js'; export type IScrollViewProps = { height: number; offset?: number; keyBindings?: boolean; onScroll?: (offset: number) => void; onContentHeightChange?: (height: number) => void; style?: Styles; class?: ClassNameValue; className?: ClassNameValue; children?: Snippet; }; export type IScrollViewHandle = { scrollTo: (offset: number) => void; scrollBy: (delta: number) => void; scrollToTop: () => void; scrollToBottom: () => void; getScrollOffset: () => number; getContentHeight: () => number; getViewportHeight: () => number; }; //# sourceMappingURL=ScrollView.types.d.ts.map