/** * KTUI - Free & Open-Source Tailwind UI Components by Keenthemes * Copyright 2025 by Keenthemes Inc */ import KTComponent from '../component'; import { KTStickyInterface, KTStickyConfigInterface } from './types'; declare global { interface Window { KT_STICKY_INITIALIZED: boolean; KTSticky: typeof KTSticky; } } export declare class KTSticky extends KTComponent implements KTStickyInterface { protected _name: string; protected _defaultConfig: KTStickyConfigInterface; protected _config: KTStickyConfigInterface; protected _targetElement: HTMLElement | Document | null; protected _attributeRoot: string; protected _isScrolling: boolean; protected _timeoutState: ReturnType | null; protected _scrollTimeout: ReturnType | null; protected _eventTriggerState: boolean; protected _lastScrollTop: number; protected _releaseElement: HTMLElement; protected _activateElement: HTMLElement; protected _wrapperElement: HTMLElement; private _resizeHandler; private _scrollHandler; constructor(element: HTMLElement, config?: KTStickyConfigInterface | null); private _getTarget; protected _handlers(): void; protected _debounceScroll(callback: () => void, delay?: number): void; protected _process(): void; protected _getOffset(): number; protected _enable(): boolean; protected _disable(): void; protected _resetStyles(): void; protected _update(): void; protected _calculateHeight(): number; protected _isActive(): boolean; protected _isRelease(): boolean; update(): void; isActive(): boolean; isRelease(): boolean; dispose(): void; static getInstance(element: HTMLElement): KTSticky; static getOrCreateInstance(element: HTMLElement, config?: KTStickyConfigInterface): KTSticky; static createInstances(): void; static init(): void; } //# sourceMappingURL=sticky.d.ts.map