import { EpPropFinalized, EpPropMergeType } from "../../../../utils/vue/props/types.js"; import { Alignment, ItemSize, ListConstructorProps, ScrollDirection } from "../types.js"; import { VirtualizedListProps } from "../props.js"; import * as _$vue from "vue"; import { CSSProperties } from "vue"; //#region ../../packages/components/virtual-list/src/builders/build-list.d.ts declare const createList: ({ name, getOffset, getItemSize, getItemOffset, getEstimatedTotalSize, getStartIndexForOffset, getStopIndexForStartIndex, initCache, clearCache, validateProps }: ListConstructorProps) => _$vue.DefineComponent<_$vue.ExtractPropTypes<{ readonly className: EpPropFinalized; readonly containerElement: EpPropFinalized<(new (...args: any[]) => string | Element) | (() => string | Element) | (((new (...args: any[]) => string | Element) | (() => string | Element)) | null)[], unknown, unknown, "div", boolean>; readonly data: EpPropFinalized<(new (...args: any[]) => any[]) | (() => any[]) | (((new (...args: any[]) => any[]) | (() => any[])) | null)[], unknown, unknown, () => [], boolean>; readonly direction: EpPropFinalized; readonly height: { readonly type: _$vue.PropType>; readonly required: true; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; readonly innerElement: EpPropFinalized; readonly innerProps: EpPropFinalized<(new (...args: any[]) => Record) | (() => Record) | (((new (...args: any[]) => Record) | (() => Record)) | null)[], unknown, unknown, () => {}, boolean>; readonly style: EpPropFinalized<(new (...args: any[]) => string | false | CSSProperties | _$vue.StyleValue[]) | (() => _$vue.StyleValue) | (((new (...args: any[]) => string | false | CSSProperties | _$vue.StyleValue[]) | (() => _$vue.StyleValue)) | null)[], unknown, unknown, undefined, boolean>; readonly useIsScrolling: BooleanConstructor; readonly width: { readonly type: _$vue.PropType>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; readonly innerWidth: { readonly type: _$vue.PropType>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; readonly perfMode: EpPropFinalized; readonly scrollbarAlwaysOn: BooleanConstructor; readonly cache: EpPropFinalized; readonly estimatedItemSize: { readonly type: _$vue.PropType; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; readonly layout: EpPropFinalized; readonly initScrollOffset: EpPropFinalized; readonly total: { readonly type: _$vue.PropType; readonly required: true; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; readonly itemSize: { readonly type: _$vue.PropType number | ItemSize) | (() => number | ItemSize) | (((new (...args: any[]) => number | ItemSize) | (() => number | ItemSize)) | null)[], never, never>>; readonly required: true; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; }>, { ns: { namespace: _$vue.ComputedRef; b: (blockSuffix?: string) => string; e: (element?: string) => string; m: (modifier?: string) => string; be: (blockSuffix?: string, element?: string) => string; em: (element?: string, modifier?: string) => string; bm: (blockSuffix?: string, modifier?: string) => string; bem: (blockSuffix?: string, element?: string, modifier?: string) => string; is: { (name: string, state: boolean | undefined): string; (name: string): string; }; cssVar: (object: Record) => Record; cssVarName: (name: string) => string; cssVarBlock: (object: Record) => Record; cssVarBlockName: (name: string) => string; }; clientSize: _$vue.ComputedRef; estimatedTotalSize: _$vue.ComputedRef; windowStyle: _$vue.ComputedRef<(string | false | CSSProperties | _$vue.StyleValue[] | { [x: string]: string; position: string; WebkitOverflowScrolling: string; willChange: string; } | null | undefined)[]>; windowRef: _$vue.Ref; innerRef: _$vue.Ref; innerStyle: _$vue.ComputedRef<{ height: string; pointerEvents: string | undefined; width: string; margin: number; boxSizing: string; }>; itemsToRender: _$vue.ComputedRef; scrollbarRef: _$vue.Ref; states: _$vue.Ref<{ isScrolling: boolean; scrollDir: ScrollDirection; scrollOffset: number; updateRequested: boolean; isScrollbarDragging: boolean; }, { isScrolling: boolean; scrollDir: ScrollDirection; scrollOffset: number; updateRequested: boolean; isScrollbarDragging: boolean; } | { isScrolling: boolean; scrollDir: ScrollDirection; scrollOffset: number; updateRequested: boolean; isScrollbarDragging: boolean; }>; getItemStyle: (idx: number) => CSSProperties; onScroll: (e: Event) => void; onScrollbarScroll: (distanceToGo: number, totalSteps: number) => void; onWheel: (e: WheelEvent) => void; scrollTo: (offset: number) => void; scrollToItem: (idx: number, alignment?: Alignment) => void; resetScrollTop: () => void; }, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, ("scroll" | "itemRendered" | "end-reached")[], "scroll" | "itemRendered" | "end-reached", _$vue.PublicProps, Readonly<_$vue.ExtractPropTypes<{ readonly className: EpPropFinalized; readonly containerElement: EpPropFinalized<(new (...args: any[]) => string | Element) | (() => string | Element) | (((new (...args: any[]) => string | Element) | (() => string | Element)) | null)[], unknown, unknown, "div", boolean>; readonly data: EpPropFinalized<(new (...args: any[]) => any[]) | (() => any[]) | (((new (...args: any[]) => any[]) | (() => any[])) | null)[], unknown, unknown, () => [], boolean>; readonly direction: EpPropFinalized; readonly height: { readonly type: _$vue.PropType>; readonly required: true; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; readonly innerElement: EpPropFinalized; readonly innerProps: EpPropFinalized<(new (...args: any[]) => Record) | (() => Record) | (((new (...args: any[]) => Record) | (() => Record)) | null)[], unknown, unknown, () => {}, boolean>; readonly style: EpPropFinalized<(new (...args: any[]) => string | false | CSSProperties | _$vue.StyleValue[]) | (() => _$vue.StyleValue) | (((new (...args: any[]) => string | false | CSSProperties | _$vue.StyleValue[]) | (() => _$vue.StyleValue)) | null)[], unknown, unknown, undefined, boolean>; readonly useIsScrolling: BooleanConstructor; readonly width: { readonly type: _$vue.PropType>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; readonly innerWidth: { readonly type: _$vue.PropType>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; readonly perfMode: EpPropFinalized; readonly scrollbarAlwaysOn: BooleanConstructor; readonly cache: EpPropFinalized; readonly estimatedItemSize: { readonly type: _$vue.PropType; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; readonly layout: EpPropFinalized; readonly initScrollOffset: EpPropFinalized; readonly total: { readonly type: _$vue.PropType; readonly required: true; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; readonly itemSize: { readonly type: _$vue.PropType number | ItemSize) | (() => number | ItemSize) | (((new (...args: any[]) => number | ItemSize) | (() => number | ItemSize)) | null)[], never, never>>; readonly required: true; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; }>> & Readonly<{ onScroll?: ((...args: any[]) => any) | undefined; onItemRendered?: ((...args: any[]) => any) | undefined; "onEnd-reached"?: ((...args: any[]) => any) | undefined; }>, { readonly layout: EpPropMergeType; readonly style: _$vue.StyleValue; readonly direction: EpPropMergeType; readonly className: string; readonly data: any[]; readonly containerElement: EpPropMergeType<(new (...args: any[]) => string | Element) | (() => string | Element) | (((new (...args: any[]) => string | Element) | (() => string | Element)) | null)[], unknown, unknown>; readonly innerElement: EpPropMergeType; readonly innerProps: Record; readonly perfMode: EpPropMergeType; readonly useIsScrolling: boolean; readonly scrollbarAlwaysOn: boolean; readonly cache: number; readonly initScrollOffset: number; }, {}, {}, {}, string, _$vue.ComponentProvideOptions, true, {}, any>; //#endregion export { createList as default };