import { AddChildFromBuilder, CoercibleProperty, Color, ContainerView, GridLayout, ItemsSource, KeyedTemplate, Property, Template, View, CoreTypes } from "@nativescript/core"; export declare type Orientation = "horizontal" | "vertical"; export declare const ITEMLOADING = "itemLoading"; export declare const ITEMDISPOSING = "itemDisposing"; export declare const LOADMOREITEMS = "loadMoreItems"; export declare namespace knownTemplates { const itemTemplate = "itemTemplate"; } export declare namespace knownMultiTemplates { const itemTemplates = "itemTemplates"; } export declare namespace knownCollections { const items = "items"; } export declare const pagerTraceCategory = "ns-pager"; export declare function PagerLog(message: string): void; export declare function PagerError(message: string): void; export { ItemsSource }; export interface ItemEventData { eventName: string; object: any; index: number; view: View; android: any; ios: any; } export declare enum Transformer { SCALE = "scale" } export declare enum Indicator { Disabled = "disable", None = "none", Worm = "worm", Fill = "fill", Swap = "swap", THIN_WORM = "thin_worm", Flat = "flat" } export declare abstract class PagerBase extends ContainerView implements AddChildFromBuilder { items: any[] | ItemsSource; selectedIndex: number; itemTemplate: string | Template; itemTemplates: string | Array; canGoRight: boolean; canGoLeft: boolean; spacing: CoreTypes.PercentLengthType; peaking: CoreTypes.PercentLengthType; perPage: number; indicator: Indicator; circularMode: boolean; autoPlayDelay: number; autoPlay: boolean; static selectedIndexChangedEvent: string; static selectedIndexChangeEvent: string; static scrollEvent: string; static swipeEvent: string; static swipeStartEvent: string; static swipeOverEvent: string; static swipeEndEvent: string; static loadMoreItemsEvent: string; static itemLoadingEvent: string; orientation: Orientation; _innerWidth: number; _innerHeight: number; _effectiveItemHeight: number; _effectiveItemWidth: number; transformers: string; loadMoreCount: number; _childrenViews: Map; readonly abstract _childrenCount: number; disableSwipe: boolean; showIndicator: boolean; indicatorColor: Color | string; indicatorSelectedColor: Color | string; static knownFunctions: string[]; abstract refresh(): void; getChildView(index: number): View; private _itemTemplateSelector; private _itemTemplateSelectorBindable; _defaultTemplate: KeyedTemplate; _itemTemplatesInternal: KeyedTemplate[]; private _itemIdGenerator; get itemIdGenerator(): (item: any, index: number, items: any) => number; set itemIdGenerator(generatorFn: (item: any, index: number, items: any) => number); get itemTemplateSelector(): string | ((item: any, index: number, items: any) => string); set itemTemplateSelector(value: string | ((item: any, index: number, items: any) => string)); onItemViewLoaderChanged(): void; _itemViewLoader: Function; get itemViewLoader(): Function; set itemViewLoader(value: Function); _getItemTemplateKey(index: number): string; _getItemTemplate(index: number): KeyedTemplate; _prepareItem(item: View, index: number): void; _getDataItem(index: number): any; _getDefaultItemContent(index: number): View; abstract get disableAnimation(): boolean; abstract set disableAnimation(value: boolean); abstract itemTemplateUpdated(oldData: any, newData: any): void; onLayout(left: number, top: number, right: number, bottom: number): void; convertToSize(length: any): number; abstract _addChildFromBuilder(name: string, value: any): void; abstract _onItemsChanged(oldValue: any, newValue: any): void; } export declare class PagerItem extends GridLayout { constructor(); onLoaded(): void; } export declare const indicatorColorProperty: Property; export declare const indicatorSelectedColorProperty: Property; export declare const circularModeProperty: Property; export declare const indicatorProperty: Property; export declare const selectedIndexProperty: CoercibleProperty; export declare const spacingProperty: Property; export declare const peakingProperty: Property; export declare const itemsProperty: Property; export declare const itemTemplateProperty: Property; export declare const itemTemplatesProperty: Property; export declare const canGoRightProperty: Property; export declare const canGoLeftProperty: Property; export declare const orientationProperty: Property; export declare const disableSwipeProperty: Property; export declare const perPageProperty: Property; export declare const transformersProperty: Property; export declare const showIndicatorProperty: Property; export declare const autoPlayProperty: Property; export declare const autoplayDelayProperty: Property;