export declare class ScrollsnapControls { /** * Required: id or CSS selector of your scrollsnap slider, so this component can bind to it. */ htmlFor: string | 'auto'; /** * Optional: CSS selector to bind to your "Previous" button. */ prev: string; /** * Optional: CSS selector to bind to your "Next" button. */ next: string; /** * Optional: Specify a character or markup for an indicator dot. */ dot: string | (() => void); /** * Optional: Specify a character or markup for the "current" page indicator dot. */ currentDot: string | (() => void); /** * Read-write: Attribute to surface the index of the current page. */ idx: number; /** * Optional: When set, the component will fetch polyfills for browsers that do not support smoothscroll natively. (Eg Safari, Edge, IE11) */ polyfill: boolean | 'auto'; /** * Experimental: When set, the component will toggle disabled attributes on the Prev/Next buttons. * (Since v0.0.7) */ disable: boolean; /** * Experimental: When set, the component will toggle aria attributes on the scrollsnap elements. * This can be helpful to screenreaders but scenarios vary. */ aria: boolean; /** * Experimental: When set, the component will set attributes on the scrollsnap elements. * By default it will set data-scrollsnap-current-index="0" on the scrollsnap slider. * This can be helpful for CSS or as a hook for extra behaviours. */ attrs: boolean; /** * Experimental: When set, the component will set data-attributes on the elements that match this selector. * This can be helpful for CSS selectors or as a hook for extra behaviours. * This attribute will be set: data-scrollsnap-current-index="0". */ notify: string | boolean; /** * DEPRECATED. When set, the component will attempt better paging of the scrollsnap using the ← → arrow keys. */ /** * An object with options for https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView * Note: Up to version 0.0.10 this prop was named scrollIntoViewOptions. */ scrollIntoViewOptions: ScrollIntoViewOptions; /** * Function to return the index of the list item that is in the focal point of the scroll area. * Defaults to find the index of the item in tthe centre of the visible area of scroll element. * The funcion receives an array of children in the scroll element as its first argument. */ getIdx: typeof getIdx; /** * */ infinite: boolean; host: HTMLElement; slides: HTMLElement[]; isScrollingTo: Boolean; onIndexChange(newIdx: number): void; private slider; private observer; onScroll: (e: WheelEvent) => void; onDotClick: (e: MouseEvent) => void; onInView: ([entry]: IntersectionObserverEntry[]) => void; moveTo: (i: number) => void; movePrev: () => void; moveNext: () => void; onBtnClick: (e: MouseEvent) => void; componentWillLoad(): void; componentDidLoad(): void; disconnectedCallback(): void; render(): any; } declare function getIdx(slides: HTMLElement[]): number; export {};