import { IAttachable } from '../../../Behaviors/Attachable'; import { CustomElement } from '../../Abstracts/CustomElement'; import { IPatternElementProps } from './IPatternElementProps'; declare const PatternElement_base: (abstract new (...args: Array) => import("../../../Behaviors/Themeable").IThemeableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Variantable").IVariantableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Disableable").IDisableableProps) & (abstract new (...args: Array) => IAttachable) & typeof CustomElement & import("../../../Behaviors/Themeable").IThemeableCtor; /** * Pattern - A component for generating random patterns with a mask effect based on mouse position. * * @description * The Pattern component provides a decorative pattern effect by randomly selecting predefined patterns * and applying a mask based on the mouse position for interactive visuals. * * @name Pattern * @element mosaik-pattern * @category Effects * * @csspart root - The root container of the pattern. * @csspart gradient first - The first gradient layer of the pattern. * @csspart gradient second - The second gradient layer of the pattern. * * @cssprop {Color} --pattern-background-color - The background color of the pattern. * * @example * ```html * * ``` * * @public */ export declare class PatternElement extends PatternElement_base implements IAttachable, IPatternElementProps { private _gradientFirstElement; private _gradientSecondElement; private _mouseX; private _mouseY; private _mouseMoveSubscription; /** * Constructs a new instance of the `PatternElement` class. * * @public */ constructor(); /** * Returns the `is` property. * The `is` property represents the natural name of this element. * * @public * @static * @readonly */ static get is(): string; /** * Gets or sets the `mouseX` property. * * @public */ get mouseX(): number; set mouseX(value: number); /** * Gets or sets the `mouseY` property. * * @public */ get mouseY(): number; set mouseY(value: number); /** * @public * @override */ disconnectedCallback(): void; /** * @protected * @override */ protected onApplyTemplate(): void; /** * @private */ private onMouseMove; /** * Updates the mask style based on the current mouse coordinates. * * @private */ private updateMaskStyle; } /** * @public */ export declare namespace PatternElement { type Props = IPatternElementProps; } /** * @public */ declare global { interface HTMLElementTagNameMap { 'mosaik-pattern': PatternElement; } } export {}; //# sourceMappingURL=PatternElement.d.ts.map