import * as lit_html from 'lit-html'; import * as lit from 'lit'; import { LitElement } from 'lit'; declare const effects: readonly ["sticky", "resize"]; declare enum EnumEffects { Sticky = "sticky", Resize = "resize" } type TypeEffects = typeof effects[number]; /** * @since 1.0.0 * @status stable * * @tagname kemet-scroll-nav * @summary An element that transforms at a scroll point. * * @prop {TypeEffect} effect - Determines where the transform point is activated. Values include: (sticky | resize) * @prop {boolean} transform - Whether the nav has shifted into a new state. * @prop {number} offset - Allows for an arbitrary adjustment of the transform point in pixels. Works with negative values. * * @cssproperty --kemet-scroll-nav-padding - The padding of the nav. * @cssproperty --kemet-scroll-nav-background - The background color of the nav. * @cssproperty --kemet-scroll-nav-transition - The transition speed of the transformation. * @cssproperty --kemet-scroll-nav-resize-height - The height of the pre-transformed nav. * @cssproperty --kemet-scroll-nav-resize-height-transformed - The height of the transformed nav. * */ declare class KemetScrollNav extends LitElement { static styles: lit.CSSResult[]; effect: TypeEffects; transform: boolean; offset: number; render(): lit_html.TemplateResult<1>; firstUpdated(): void; handleScroll(stickPoint: number, elementHeight: number): void; } declare global { interface HTMLElementTagNameMap { 'kemet-scroll-nav': KemetScrollNav; } } export { EnumEffects, type TypeEffects, KemetScrollNav as default, effects };