import { SvelteComponentTyped } from "svelte"; export type VirtualWindowProps = { /** * The height of the whole list in pixels. * @default 0 */ totalHeight?: number; /** * Where the first rendered row sits in the list, in pixels. * @default 0 */ offsetY?: number; /** * The scroll position the window was resolved against. * @default 0 */ scrollTop?: number; /** * Set to `true` to pin the window to the viewport, so a scroll it has not * caught up with shows the rows already rendered instead of blank space. * @default false */ pinned?: boolean; /** * Set to `true` when row heights are measured rather than known, so a * rendered row can be taller than `totalHeight` assumed. * @default false */ measured?: boolean; children?: (this: void) => void; }; export default class VirtualWindow extends SvelteComponentTyped< VirtualWindowProps, Record, { default: Record } > {}