import type { CssVars, DepthOptions, GlareOptions, GyroscopeOptions, HoloCardOptions, HoloLayerOptions, PaletteOptions, VisualOptions } from "./types.js"; export declare class HoloCard { readonly element: HTMLElement; private readonly rotator; private frontElement; private layersElement; private readonly options; private gyroConfig; private readonly springRotate; private readonly springGlare; private readonly springBackground; private readonly springPointer; private readonly springRotateDelta; private readonly springTranslate; private readonly springScale; private readonly allSprings; private readonly liveRotate; private readonly liveGlare; private readonly liveBackground; private readonly livePointer; private readonly snapDynamics; private readonly tiltFactorX; private readonly tiltFactorY; private readonly tiltScaleX; private readonly tiltScaleY; private readonly parallax; private readonly glareRange; private readonly returnDelay; private readonly showcaseConfig; private isInteracting; private wasActive; private manageAriaPressed; private firstPop; private isVisible; private destroyed; private renderScheduled; private interactRaf; private pendingUpdate; private repositionTimer; private endTimer; private showcaseStart; private showcaseEnd; private showcaseInterval; private showcaseRunning; private readonly cleanups; private unsubscribeOrientation; constructor(element: HTMLElement, options?: HoloCardOptions); private applyVisual; private applyPalette; private applyGlare; private applyDepth; private applyStaticStyles; private enableInteractive; private parallaxBackground; private rangeGlare; private interact; private interactEnd; private setGroupDynamics; private applyLiveDynamics; private settle; private updateSprings; private setInteracting; get interacting(): boolean; private scheduleRender; private clearRenderVars; private applyStyles; private onActiveChange; private popover; private retreat; private reset; private setCenter; private reposition; private startGyroscope; private stopGyroscope; private orientate; private onVisibilityChange; private startShowcase; private endShowcase; private toggleActive; activate(): void; deactivate(): void; setEffect(effect: HoloCardOptions["effect"]): void; /** The `.holo-card__front` element, for appending custom content at runtime. */ get front(): HTMLElement | null; /** Apply CSS custom properties to the root element (for content linkage). */ setVars(vars: CssVars): void; /** Update fine-grained visual controls at runtime. */ setVisual(visual: VisualOptions): void; /** * Swap the foil colour palette / theme at runtime. This is a full replacement: * any palette variable not present in `palette` reverts to its default. */ setPalette(palette: PaletteOptions): void; /** * Update the dynamic glare (reflected light) at runtime. The image / shape / * blend are replaced wholesale — omit them to return to the effect's built-in * glare. `opacity` is shared with `visual.glareOpacity` and only changes when * provided. */ setGlare(glare: GlareOptions): void; /** Toggle or tune the foil 3D depth / extrusion at runtime. */ setDepth(depth: boolean | DepthOptions): void; /** Update the gyroscope physical-behaviour tuning at runtime. */ setGyroscope(gyroscope: boolean | GyroscopeOptions): void; /** * Insert an extra layer between the artwork and the foil at runtime, returning * the created element. Requires the card to have a `.holo-card__front`. */ addLayer(layer: HoloLayerOptions): HTMLElement; get active(): boolean; destroy(): void; } //# sourceMappingURL=holo-card.d.ts.map