import { type DoCheck, type TemplateRef } from '@angular/core'; import { type IInnerViewRef, type ISectionEntry, type ISeparators, type IScrollViewHandle, type IVirtualizedSectionListHandle } from '@symbiote-native/components'; import { type IStyleProp, type ISymbioteEvent, type ISymbioteNode, type IViewStyle } from '@symbiote-native/engine'; import { VListCellDirective, VListEmptyDirective, VListFooterDirective, VListHeaderDirective, VListSeparatorDirective, type IVListCellContext } from '../virtualized-list'; import { ListEventsBase } from '../virtualized-list/list-events'; import { VSectionFooterDirective, VSectionHeaderDirective, VSectionItemDirective, VSectionSeparatorDirective, type ISection, type IVSectionContext, type IVSectionItemContext } from './directives'; import { type ISeparatorSlot } from './section-cell'; import type { IItemLayout, IVirtualizedSectionListInputs } from './section-list-props'; import * as i0 from "@angular/core"; import * as i1 from "../../primitives/shared"; export type { IVirtualizedSectionListHandle } from '@symbiote-native/components'; export { VSectionFooterDirective, VSectionHeaderDirective, VSectionItemDirective, VSectionSeparatorDirective, } from './directives'; export type { ISection, IVSectionContext, IVSectionItemContext, IVSectionSeparatorContext, } from './directives'; type IEntry = ISectionEntry>; export type ICellPlan = { cellKey: string; prevCellKey: string | undefined; hasLeading: boolean; hasTrailing: boolean; itemTemplate: TemplateRef> | undefined; first: ISeparatorSlot; second: ISeparatorSlot; }; export type { IVirtualizedSectionListInputs, IVirtualizedSectionListProps, } from './section-list-props'; export declare class VirtualizedSectionList extends ListEventsBase implements IVirtualizedSectionListInputs, IVirtualizedSectionListHandle, DoCheck { sections: ReadonlyArray>; keyExtractor?: (item: ItemT, index: number) => string; getItemLayout?: (data: ReadonlyArray> | null, index: number) => IItemLayout; stickySectionHeadersEnabled?: boolean; extraData?: unknown; onEndReachedThreshold?: number; onStartReachedThreshold?: number; refreshing?: boolean | null; progressViewOffset?: number; refreshRequested?: boolean; initialNumToRender?: number; initialScrollIndex?: number; maxToRenderPerBatch?: number; updateCellsBatchingPeriod?: number; windowSize?: number; disableVirtualization?: boolean; inverted?: boolean; horizontal?: boolean; maintainVisibleContentPosition?: { minIndexForVisible: number; autoscrollToTopThreshold?: number; }; onScroll?: (event: ISymbioteEvent) => void; onScrollBeginDrag?: (event: ISymbioteEvent) => void; onScrollEndDrag?: (event: ISymbioteEvent) => void; onMomentumScrollBegin?: (event: ISymbioteEvent) => void; onMomentumScrollEnd?: (event: ISymbioteEvent) => void; onContentSizeChange?: (width: number, height: number) => void; scrollEventThrottle?: number; keyboardShouldPersistTaps?: boolean | 'always' | 'never' | 'handled'; keyboardDismissMode?: 'none' | 'on-drag' | 'interactive'; removeClippedSubviews?: boolean; nestedScrollEnabled?: boolean; stickyHeaderHiddenOnScroll?: boolean; innerViewRef?: IInnerViewRef; style?: IStyleProp; contentContainerStyle?: IStyleProp; listHeaderComponentStyle?: IStyleProp; listFooterComponentStyle?: IStyleProp; testID?: string; nativeID?: string; private cachedResolvedStyle; get resolvedStyle(): IViewStyle; sectionItemDir?: VSectionItemDirective; sectionHeaderDir?: VSectionHeaderDirective; sectionFooterDir?: VSectionFooterDirective; sectionSeparatorDir?: VSectionSeparatorDirective; listHeaderDir?: VListHeaderDirective; listFooterDir?: VListFooterDirective; listEmptyDir?: VListEmptyDirective; itemSeparatorDir?: VListSeparatorDirective; cellDir?: VListCellDirective; cellRendererTemplate?: TemplateRef; get cellRendererTpl(): TemplateRef | undefined; private list?; private readonly elementRef; flatEntries: IEntry[]; stickyHeaderIndices: number[] | undefined; readonly board: import("@symbiote-native/components").ISeparatorBoard>; private headerIndices; private lastSectionsRef; private readonly cdr; ngDoCheck(): void; getEntry: (_source: unknown, index: number) => IEntry; getEntryCount: () => number; entryKeyExtractor: (entry: IEntry) => string; private cachedEntryItemLayout?; private lastGetItemLayout?; get entryItemLayout(): ((data: unknown, index: number) => IItemLayout) | undefined; get resolvedOnEndReached(): ((info: { distanceFromEnd: number; }) => void) | undefined; get resolvedOnStartReached(): ((info: { distanceFromStart: number; }) => void) | undefined; get resolvedOnRefresh(): (() => void) | undefined; private isEntry; entryKind(value: unknown): IEntry['kind'] | 'unknown'; sectionContextOf(value: unknown): IVSectionContext | undefined; itemContextOf(value: unknown, separators: ISeparators): IVSectionItemContext | undefined; private slotFor; cellPlanOf(value: unknown, index: number): ICellPlan | undefined; scrollToLocation(params: { sectionIndex: number; itemIndex: number; viewOffset?: number; viewPosition?: number; animated?: boolean; }): void; flashScrollIndicators(): void; getNativeScrollRef(): ISymbioteNode | null; getScrollableNode(): IScrollViewHandle | null; getScrollResponder(): IScrollViewHandle | null; getScrollNode(): ISymbioteNode | null; getScrollRef(): ISymbioteNode | null; recordInteraction(): void; setNativeProps(props: Record): void; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵcmp: i0.ɵɵComponentDeclaration, "VirtualizedSectionList", never, { "sections": { "alias": "sections"; "required": true; }; "keyExtractor": { "alias": "keyExtractor"; "required": false; }; "getItemLayout": { "alias": "getItemLayout"; "required": false; }; "stickySectionHeadersEnabled": { "alias": "stickySectionHeadersEnabled"; "required": false; }; "extraData": { "alias": "extraData"; "required": false; }; "onEndReachedThreshold": { "alias": "onEndReachedThreshold"; "required": false; }; "onStartReachedThreshold": { "alias": "onStartReachedThreshold"; "required": false; }; "refreshing": { "alias": "refreshing"; "required": false; }; "progressViewOffset": { "alias": "progressViewOffset"; "required": false; }; "refreshRequested": { "alias": "refreshRequested"; "required": false; }; "initialNumToRender": { "alias": "initialNumToRender"; "required": false; }; "initialScrollIndex": { "alias": "initialScrollIndex"; "required": false; }; "maxToRenderPerBatch": { "alias": "maxToRenderPerBatch"; "required": false; }; "updateCellsBatchingPeriod": { "alias": "updateCellsBatchingPeriod"; "required": false; }; "windowSize": { "alias": "windowSize"; "required": false; }; "disableVirtualization": { "alias": "disableVirtualization"; "required": false; }; "inverted": { "alias": "inverted"; "required": false; }; "horizontal": { "alias": "horizontal"; "required": false; }; "maintainVisibleContentPosition": { "alias": "maintainVisibleContentPosition"; "required": false; }; "onScroll": { "alias": "onScroll"; "required": false; }; "onScrollBeginDrag": { "alias": "onScrollBeginDrag"; "required": false; }; "onScrollEndDrag": { "alias": "onScrollEndDrag"; "required": false; }; "onMomentumScrollBegin": { "alias": "onMomentumScrollBegin"; "required": false; }; "onMomentumScrollEnd": { "alias": "onMomentumScrollEnd"; "required": false; }; "onContentSizeChange": { "alias": "onContentSizeChange"; "required": false; }; "scrollEventThrottle": { "alias": "scrollEventThrottle"; "required": false; }; "keyboardShouldPersistTaps": { "alias": "keyboardShouldPersistTaps"; "required": false; }; "keyboardDismissMode": { "alias": "keyboardDismissMode"; "required": false; }; "removeClippedSubviews": { "alias": "removeClippedSubviews"; "required": false; }; "nestedScrollEnabled": { "alias": "nestedScrollEnabled"; "required": false; }; "stickyHeaderHiddenOnScroll": { "alias": "stickyHeaderHiddenOnScroll"; "required": false; }; "innerViewRef": { "alias": "innerViewRef"; "required": false; }; "style": { "alias": "style"; "required": false; }; "contentContainerStyle": { "alias": "contentContainerStyle"; "required": false; }; "listHeaderComponentStyle": { "alias": "listHeaderComponentStyle"; "required": false; }; "listFooterComponentStyle": { "alias": "listFooterComponentStyle"; "required": false; }; "testID": { "alias": "testID"; "required": false; }; "nativeID": { "alias": "nativeID"; "required": false; }; "cellRendererTemplate": { "alias": "cellRendererTemplate"; "required": false; }; }, {}, ["sectionItemDir", "sectionHeaderDir", "sectionFooterDir", "sectionSeparatorDir", "listHeaderDir", "listFooterDir", "listEmptyDir", "itemSeparatorDir", "cellDir"], never, true, [{ directive: typeof i1.SymbioteStyleInputDirective; inputs: { "style": "style"; }; outputs: {}; }]>; }