import * as _angular_core from '@angular/core'; /** * Wave-field background — a grid of lines drifting on perlin noise, * nudged by the pointer. Fills its nearest positioned ancestor; put it * behind hero copy or section content. * * Colours are theme-aware by default: a soft dark line on light surfaces, * a faint white line on dark — override with `[lineColor]`. * * @example * ```html *
* *

Hero copy above the waves

*
* ``` * * @see https://ngwr.dev/animations/waves */ declare class WrWaves { /** Line stroke colour. When unset, the theme decides. */ readonly lineColor: _angular_core.InputSignal; /** Background fill behind the lines. @default 'transparent' */ readonly backgroundColor: _angular_core.InputSignal; /** Horizontal noise drift per ms. @default 0.0125 */ readonly waveSpeedX: _angular_core.InputSignalWithTransform; /** Vertical noise drift per ms. @default 0.005 */ readonly waveSpeedY: _angular_core.InputSignalWithTransform; /** Horizontal wave amplitude in px. @default 32 */ readonly waveAmpX: _angular_core.InputSignalWithTransform; /** Vertical wave amplitude in px. @default 16 */ readonly waveAmpY: _angular_core.InputSignalWithTransform; /** Horizontal gap between lines in px. @default 10 */ readonly xGap: _angular_core.InputSignalWithTransform; /** Vertical gap between points on a line in px. @default 32 */ readonly yGap: _angular_core.InputSignalWithTransform; /** Velocity damping of the cursor spring, 0..1. @default 0.925 */ readonly friction: _angular_core.InputSignalWithTransform; /** Pull-back strength of the cursor spring. @default 0.005 */ readonly tension: _angular_core.InputSignalWithTransform; /** Max px a point can be dragged from rest. @default 100 */ readonly maxCursorMove: _angular_core.InputSignalWithTransform; private readonly canvasRef; private readonly host; private readonly zone; private readonly destroyRef; private readonly platform; private readonly isBrowser; private ctx; private readonly noise; private lines; private bounding; private readonly mouse; private rafId; constructor(); private boot; private setSize; private setLines; private tick; private movePoints; private moved; private drawLines; /** Explicit input wins; otherwise the theme's `--wr-waves-line-color`. */ private resolveLineColor; private updateMouse; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } export { WrWaves };