import { EventEmitter } from "../../stencil-public-runtime"; import { StzhStickyStuckTopEvent, StzhStickyStuckBottomEvent } from "../../index"; /** * @slot - Slot for any content */ export declare class StzhSticky { /** Variant */ variant: "default" | "transparent"; /** Whether to disable sticking to top */ disableStickyTop: boolean; /** Whether to disable sticking to bottom */ disableStickyBottom: boolean; /** Whether background breaks out container to full viewport width */ bleeding: boolean; /** Name of sticky element (used for setting css properties) */ name: string; /** * Position type used. * * - sticky: used only css position sticky * - fixed: uses position fixed with js for positioning (`data-stzh-sticky-container` can be used on a container element to limit sticky position) */ position: "sticky" | "fixed"; disableStickyWatcher(): void; stuckHeightWatcher(): void; isStuckTopWatcher(newValue: boolean): void; isStuckBottomWatcher(newValue: boolean): void; positionWatcher(): void; /** Sticky stuck top event */ stzhStuckTop: EventEmitter; /** Sticky stuck bottom event */ stzhStuckBottom: EventEmitter; element: HTMLStzhStickyElement; isStuckTop: boolean; isStuckBottom: boolean; hasReachedTopLimit: boolean; hasReachedBottomLimit: boolean; loaded: boolean; private observer; private stickyResizeObserver; private debounceScroll; private debounceResize; private stickyElement; private spacerElement; private windowHeight; private scrollX; private scrollY; private fixedTop; private fixedLeft; private fixedHeight; private fixedWidth; private fixedLimit; private updateStuck; private getFixedLimit; private setUnfixed; private setFixed; private handleScroll; private handleResize; private handleStickyResize; private updateByScroll; private updateFixedByResize; private observe; componentDidLoad(): void; disconnectedCallback(): void; render(): any; }