@ethlete/core 4.31.0 → 5.0.0-beta.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2622 @@
1
+ import * as _angular_core from '@angular/core';
2
+ import { InjectionToken, AfterViewInit, Signal, ComponentRef, StaticProvider, EmbeddedViewRef, ElementRef, Type, ViewContainerRef, Injector, RendererStyleFlags2, Provider, computed, InjectOptions, TemplateRef, QueryList, InputSignal, InputSignalWithTransform, PipeTransform, TrackByFunction, WritableSignal, DestroyRef, OnInit, OnDestroy } from '@angular/core';
3
+ import * as rxjs from 'rxjs';
4
+ import { Observable, BehaviorSubject, Subject } from 'rxjs';
5
+ import * as _ethlete_core from '@ethlete/core';
6
+ import { OverlayRef } from '@angular/cdk/overlay';
7
+ import { ComponentPortal, ComponentType } from '@angular/cdk/portal';
8
+ import { Placement, OffsetOptions, Padding } from '@floating-ui/dom';
9
+ import { MatchListView, ParticipantViewUnion, MatchRankingView, StageType } from '@ethlete/types';
10
+ import * as _angular_platform_browser from '@angular/platform-browser';
11
+ import { FormGroup, AbstractControl, ValidationErrors, ValidatorFn } from '@angular/forms';
12
+ import { Data, Params, Event as Event$1 } from '@angular/router';
13
+
14
+ declare const ANIMATABLE_TOKEN: InjectionToken<AnimatableDirective>;
15
+ type AnimationEndEvent = {
16
+ cancelled: boolean;
17
+ transitionId?: string;
18
+ };
19
+ declare class AnimatableDirective {
20
+ private parent;
21
+ private elementRef;
22
+ private animationStartSubject$;
23
+ private animationEndSubject$;
24
+ private activeAnimationCount;
25
+ private hostActiveAnimationCount$;
26
+ private pendingTransitionIds;
27
+ private activeBatchTransitionId;
28
+ animationStart$: Observable<void>;
29
+ animationEnd$: Observable<AnimationEndEvent>;
30
+ totalActiveAnimationCount$: Observable<number>;
31
+ isAnimating$: Observable<boolean>;
32
+ constructor();
33
+ setTransitionId(id: string): void;
34
+ private updateActiveAnimationCount;
35
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AnimatableDirective, never>;
36
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AnimatableDirective, "[etAnimatable]", ["etAnimatable"], {}, {}, never, never, true, never>;
37
+ }
38
+
39
+ declare const ANIMATED_IF_TOKEN: InjectionToken<AnimatedIfDirective>;
40
+ declare class AnimatedIfDirective {
41
+ private templateRef;
42
+ private viewContainerRef;
43
+ private animatedLifecycle;
44
+ private hasView;
45
+ ifValue: _angular_core.InputSignal<unknown>;
46
+ constructor();
47
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AnimatedIfDirective, never>;
48
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AnimatedIfDirective, "[etAnimatedIf]", never, { "ifValue": { "alias": "etAnimatedIf"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
49
+ }
50
+
51
+ declare const ANIMATED_LIFECYCLE_TOKEN: InjectionToken<AnimatedLifecycleDirective>;
52
+ type AnimatedLifecycleState = 'entering' | 'entered' | 'leaving' | 'left' | 'init';
53
+ declare class AnimatedLifecycleDirective implements AfterViewInit {
54
+ private destroyRef;
55
+ private cancelCurrentAnimation$;
56
+ private elementRef;
57
+ private animatable;
58
+ private renderer;
59
+ private element;
60
+ private isConstructed;
61
+ private transitionIdCounter;
62
+ private forcedAtFrameId;
63
+ private currentFrameId;
64
+ state$: BehaviorSubject<AnimatedLifecycleState>;
65
+ stateChange: _angular_core.OutputRef<AnimatedLifecycleState>;
66
+ skipNextEnter: _angular_core.ModelSignal<boolean>;
67
+ constructor();
68
+ private trackFrameId;
69
+ ngAfterViewInit(): void;
70
+ enter(): void;
71
+ leave(): void;
72
+ forceEnteredState(): void;
73
+ forceLeftState(): void;
74
+ private handleNormalTransition;
75
+ private handleInterruptedTransition;
76
+ private addClass;
77
+ private removeClass;
78
+ private removeClasses;
79
+ private updateState;
80
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AnimatedLifecycleDirective, never>;
81
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AnimatedLifecycleDirective, "[etAnimatedLifecycle]", ["etAnimatedLifecycle"], { "skipNextEnter": { "alias": "skipNextEnter"; "required": false; "isSignal": true; }; }, { "stateChange": "stateChange"; "skipNextEnter": "skipNextEnterChange"; }, never, never, true, [{ directive: typeof AnimatableDirective; inputs: {}; outputs: {}; }]>;
82
+ }
83
+
84
+ declare class ColorInteractiveContainerDirective {
85
+ private styleManager;
86
+ constructor();
87
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ColorInteractiveContainerDirective, never>;
88
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ColorInteractiveContainerDirective, "[etColorInteractiveContainer]", never, {}, {}, never, never, true, never>;
89
+ }
90
+
91
+ declare class ColorInteractiveExcludeDirective {
92
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ColorInteractiveExcludeDirective, never>;
93
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ColorInteractiveExcludeDirective, "[etColorInteractiveExclude]", never, {}, {}, never, never, true, never>;
94
+ }
95
+
96
+ declare class ColorInteractiveHasFocusDirective {
97
+ private styleManager;
98
+ constructor();
99
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ColorInteractiveHasFocusDirective, never>;
100
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ColorInteractiveHasFocusDirective, "[etColorInteractiveHasFocus]", never, {}, {}, never, never, true, never>;
101
+ }
102
+
103
+ declare class ColorInteractiveDirective {
104
+ private styleManager;
105
+ constructor();
106
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ColorInteractiveDirective, never>;
107
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ColorInteractiveDirective, "[etColorInteractive]", never, {}, {}, never, never, true, never>;
108
+ }
109
+
110
+ type ThemeRGBColor = `${number} ${number} ${number}`;
111
+ type ThemeHSLColor = `${number} ${number}% ${number}%`;
112
+ type ThemeColor = ThemeRGBColor | ThemeHSLColor;
113
+ type ThemeColorMap = {
114
+ default: ThemeColor;
115
+ hover: ThemeColor;
116
+ focus?: ThemeColor;
117
+ active: ThemeColor;
118
+ disabled: ThemeColor;
119
+ };
120
+ type OnThemeColorMap = {
121
+ default: ThemeColor;
122
+ hover?: ThemeColor;
123
+ focus?: ThemeColor;
124
+ active?: ThemeColor;
125
+ disabled?: ThemeColor;
126
+ };
127
+ type ThemeInkColorMap = {
128
+ default: ThemeColor;
129
+ hover?: ThemeColor;
130
+ focus?: ThemeColor;
131
+ active?: ThemeColor;
132
+ disabled?: ThemeColor;
133
+ };
134
+ type ThemeSwatch = {
135
+ color: ThemeColorMap;
136
+ onColor: OnThemeColorMap;
137
+ inkColor?: ThemeInkColorMap;
138
+ };
139
+ type ColorThemeType = 'success' | 'warning' | 'error';
140
+ type ColorTheme = {
141
+ name: string;
142
+ type?: ColorThemeType;
143
+ isDefault?: boolean;
144
+ primary: ThemeSwatch;
145
+ secondary?: ThemeSwatch;
146
+ tertiary?: ThemeSwatch;
147
+ };
148
+ declare const createCssColorThemeName: (name: string) => string;
149
+ declare const ɵProvideColorThemes: (valueOverride?: (ColorTheme | undefined)[] | undefined) => _angular_core.Provider[];
150
+ declare const injectColorThemes: {
151
+ (): ColorTheme[];
152
+ (options: _angular_core.InjectOptions & {
153
+ optional?: false;
154
+ }): ColorTheme[];
155
+ (options: _angular_core.InjectOptions): ColorTheme[] | null;
156
+ };
157
+ declare const ɵProvideColorThemesPrefix: (valueOverride?: string | undefined) => _angular_core.Provider[];
158
+ declare const injectColorThemesPrefix: {
159
+ (): string;
160
+ (options: _angular_core.InjectOptions & {
161
+ optional?: false;
162
+ }): string;
163
+ (options: _angular_core.InjectOptions): string | null;
164
+ };
165
+ declare const provideColorThemesWithTailwind4: (themes: ColorTheme[], prefix?: string) => _angular_core.Provider[][];
166
+ declare const injectErrorTheme: () => ColorTheme;
167
+ declare const injectWarningTheme: () => ColorTheme;
168
+ declare const injectSuccessTheme: () => ColorTheme;
169
+
170
+ /**
171
+ * @deprecated Migrate to Tailwind v4. Intent to remove in v6.
172
+ */
173
+ declare const createSwatchCss: (swatch: string, isAlt: boolean, data: ThemeSwatch) => string;
174
+ /**
175
+ * @deprecated Migrate to Tailwind v4. Intent to remove in v6.
176
+ */
177
+ declare const createRootThemeCss: (themes: ColorTheme[]) => void;
178
+ /**
179
+ * @deprecated Migrate to Tailwind v4. Intent to remove in v6.
180
+ */
181
+ declare const createThemeStyle: (theme: ColorTheme, isAlt: boolean) => void;
182
+ /**
183
+ * @deprecated Migrate to Tailwind v4. Intent to remove in v6.
184
+ */
185
+ declare const createTailwindCssVar: (name: string | undefined) => string | null;
186
+ /**
187
+ * @deprecated Migrate to Tailwind v4. Intent to remove in v6.
188
+ */
189
+ declare const createTailwindRgbVar: (val: string | undefined) => string | null;
190
+ /**
191
+ * @deprecated Migrate to Tailwind v4. Intent to remove in v6.
192
+ */
193
+ declare const createTailwindColorThemes: (themes: ColorTheme[], prefix?: string) => Record<string, {
194
+ DEFAULT: string;
195
+ hover: string;
196
+ focus: string;
197
+ active: string;
198
+ disabled: string;
199
+ }>;
200
+ /**
201
+ * @deprecated Use provideColorThemesWithTailwind4 instead after migrating to Tailwind CSS v4. Intent to remove in v6.
202
+ */
203
+ declare const provideColorThemes: (themes: ColorTheme[]) => _angular_core.Provider[][];
204
+
205
+ declare const COLOR_PROVIDER: InjectionToken<ProvideColorDirective>;
206
+ declare class ProvideColorDirective {
207
+ private themes;
208
+ private prefix;
209
+ private injector;
210
+ private currentProviderSync;
211
+ private forcedColor;
212
+ color: _angular_core.InputSignal<string | ColorTheme | null | undefined>;
213
+ effectiveColor: _angular_core.Signal<string | ColorTheme | null | undefined>;
214
+ colorName: _angular_core.Signal<string | undefined>;
215
+ protected themeClass: _angular_core.Signal<string>;
216
+ syncWithProvider(provider: ProvideColorDirective): void;
217
+ stopSyncWithProvider(): void;
218
+ /** @internal */
219
+ forceColor(color: string | ColorTheme | null): void;
220
+ /** @internal */
221
+ clearForcedColor(): void;
222
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ProvideColorDirective, never>;
223
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ProvideColorDirective, "[etProvideColor]", never, { "color": { "alias": "etProvideColor"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
224
+ }
225
+
226
+ declare const SURFACE_TYPE: {
227
+ readonly LIGHT: "light";
228
+ readonly DARK: "dark";
229
+ };
230
+ type SurfaceType = (typeof SURFACE_TYPE)[keyof typeof SURFACE_TYPE];
231
+ type SurfaceThemeColor = `${number} ${number} ${number}`;
232
+ type SurfaceInteractionColor = {
233
+ default: SurfaceThemeColor;
234
+ hover: SurfaceThemeColor;
235
+ focus: SurfaceThemeColor;
236
+ active: SurfaceThemeColor;
237
+ disabled: SurfaceThemeColor;
238
+ };
239
+ type SurfaceTheme = {
240
+ name: string;
241
+ type: SurfaceType;
242
+ elevation: number;
243
+ isDefault?: boolean;
244
+ interactionColor?: SurfaceInteractionColor;
245
+ background: SurfaceThemeColor;
246
+ color: SurfaceThemeColor;
247
+ colorMuted: SurfaceThemeColor;
248
+ colorSubtle: SurfaceThemeColor;
249
+ border: SurfaceThemeColor;
250
+ };
251
+ declare const createCssSurfaceName: (name: string) => string;
252
+ declare const resolveSurfaceByElevation: (themes: SurfaceTheme[], type: SurfaceType, elevation: number) => SurfaceTheme | null;
253
+ declare const ɵProvideSurfaceThemes: (valueOverride?: (SurfaceTheme | undefined)[] | undefined) => _angular_core.Provider[];
254
+ declare const injectSurfaceThemes: {
255
+ (): SurfaceTheme[];
256
+ (options: _angular_core.InjectOptions & {
257
+ optional?: false;
258
+ }): SurfaceTheme[];
259
+ (options: _angular_core.InjectOptions): SurfaceTheme[] | null;
260
+ };
261
+ declare const ɵProvideSurfaceThemesPrefix: (valueOverride?: string | undefined) => _angular_core.Provider[];
262
+ declare const injectSurfaceThemesPrefix: {
263
+ (): string;
264
+ (options: _angular_core.InjectOptions & {
265
+ optional?: false;
266
+ }): string;
267
+ (options: _angular_core.InjectOptions): string | null;
268
+ };
269
+ declare const provideSurfaceThemesWithTailwind4: (themes: SurfaceTheme[], prefix?: string) => _angular_core.Provider[][];
270
+
271
+ declare const SURFACE_PROVIDER: InjectionToken<ProvideSurfaceDirective>;
272
+ declare class ProvideSurfaceDirective {
273
+ private themes;
274
+ private prefix;
275
+ private injector;
276
+ private currentProviderSync;
277
+ private forcedSurface;
278
+ surface: _angular_core.InputSignal<string | null | undefined>;
279
+ effectiveSurface: _angular_core.Signal<string | null | undefined>;
280
+ resolvedTheme: _angular_core.Signal<SurfaceTheme | null>;
281
+ elevation: _angular_core.Signal<number>;
282
+ surfaceType: _angular_core.Signal<_ethlete_core.SurfaceType | null>;
283
+ surfaceName: _angular_core.Signal<string | undefined>;
284
+ protected surfaceClass: _angular_core.Signal<string>;
285
+ syncWithProvider(provider: ProvideSurfaceDirective): void;
286
+ stopSyncWithProvider(): void;
287
+ /** @internal */
288
+ forceSurface(surface: string | null): void;
289
+ /** @internal */
290
+ clearForcedSurface(): void;
291
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ProvideSurfaceDirective, never>;
292
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ProvideSurfaceDirective, "[etProvideSurface]", never, { "surface": { "alias": "etProvideSurface"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
293
+ }
294
+
295
+ type SurfaceContextEntry = {
296
+ id: string;
297
+ type: SurfaceType;
298
+ elevation: number;
299
+ };
300
+ type SurfaceContextTracker = {
301
+ topType: Signal<SurfaceType | null>;
302
+ topElevation: Signal<number>;
303
+ register: (type: SurfaceType, elevation: number) => () => void;
304
+ };
305
+ declare const provideSurfaceContextTracker: () => _angular_core.Provider[];
306
+ declare const injectSurfaceContextTracker: {
307
+ (): SurfaceContextTracker;
308
+ (options: _angular_core.InjectOptions & {
309
+ optional?: false;
310
+ }): SurfaceContextTracker;
311
+ (options: _angular_core.InjectOptions): SurfaceContextTracker | null;
312
+ };
313
+
314
+ declare class SurfaceInteractiveDirective {
315
+ private styleManager;
316
+ constructor();
317
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<SurfaceInteractiveDirective, never>;
318
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SurfaceInteractiveDirective, "[etSurfaceInteractive]", never, {}, {}, never, never, true, never>;
319
+ }
320
+
321
+ type AnimatedOverlayComponentBase = {
322
+ animatedLifecycle: Signal<AnimatedLifecycleDirective | undefined>;
323
+ setColorFromProvider: (provider: ProvideColorDirective) => void;
324
+ };
325
+ type AnimatedOverlayMountConfig<T> = {
326
+ component: ComponentType<T>;
327
+ providers?: StaticProvider[];
328
+ data?: Partial<T>;
329
+ colorProvider?: ProvideColorDirective | null;
330
+ };
331
+ type AnimatedOverlayState = 'init' | 'mounting' | 'mounted' | 'unmounting' | 'unmounted';
332
+ declare class AnimatedOverlayDirective<T extends AnimatedOverlayComponentBase> {
333
+ private overlayService;
334
+ private injector;
335
+ private viewContainerRef;
336
+ private zone;
337
+ private elementRef;
338
+ private rootBoundary;
339
+ private destroyRef;
340
+ private floatingElCleanupFn;
341
+ private unmountSubscription;
342
+ placement: _angular_core.InputSignal<Placement | undefined>;
343
+ fallbackPlacements: _angular_core.InputSignal<Placement[] | undefined>;
344
+ offset: _angular_core.InputSignal<OffsetOptions | null>;
345
+ arrowPadding: _angular_core.InputSignal<Padding | null>;
346
+ viewportPadding: _angular_core.InputSignal<Padding | null>;
347
+ autoResize: _angular_core.InputSignalWithTransform<boolean, unknown>;
348
+ shift: _angular_core.InputSignalWithTransform<boolean, unknown>;
349
+ autoHide: _angular_core.InputSignalWithTransform<boolean, unknown>;
350
+ autoCloseIfReferenceHidden: _angular_core.InputSignalWithTransform<boolean, unknown>;
351
+ referenceElement: _angular_core.InputSignal<HTMLElement>;
352
+ mirrorWidth: _angular_core.InputSignalWithTransform<boolean, unknown>;
353
+ portal: ComponentPortal<T> | null;
354
+ overlayRef: OverlayRef | null;
355
+ componentRef: ComponentRef<T> | null;
356
+ beforeOpened$: Subject<void>;
357
+ afterOpened$: Subject<void>;
358
+ beforeClosed$: Subject<void>;
359
+ afterClosed$: Subject<void>;
360
+ state: _angular_core.WritableSignal<AnimatedOverlayState>;
361
+ isMounted: Signal<boolean>;
362
+ isMounting: Signal<boolean>;
363
+ isUnmounted: Signal<boolean>;
364
+ isUnmounting: Signal<boolean>;
365
+ canMount: Signal<boolean>;
366
+ canUnmount: Signal<boolean>;
367
+ isHidden: _angular_core.WritableSignal<boolean>;
368
+ isMounted$: rxjs.Observable<boolean>;
369
+ isMounting$: rxjs.Observable<boolean>;
370
+ isUnmounted$: rxjs.Observable<boolean>;
371
+ isUnmounting$: rxjs.Observable<boolean>;
372
+ canMount$: rxjs.Observable<boolean>;
373
+ canUnmount$: rxjs.Observable<boolean>;
374
+ isHidden$: rxjs.Observable<boolean>;
375
+ referenceElementDimensions: Signal<_ethlete_core.NullableElementDimensions>;
376
+ constructor();
377
+ mount(config: AnimatedOverlayMountConfig<T>): T | undefined;
378
+ unmount(): void;
379
+ private applyComponentData;
380
+ private applyColorProvider;
381
+ private updateOverlaySize;
382
+ private setupFloatingUI;
383
+ private getFloatingArrow;
384
+ private updateFloatingPosition;
385
+ private buildFloatingMiddleware;
386
+ private applyFloatingStyles;
387
+ private applyArrowStyles;
388
+ private handleReferenceHidden;
389
+ private waitForRenderAndAnimate;
390
+ private destroy;
391
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AnimatedOverlayDirective<any>, never>;
392
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AnimatedOverlayDirective<any>, "[etAnimatedOverlay]", ["etAnimatedOverlay"], { "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "fallbackPlacements": { "alias": "fallbackPlacements"; "required": false; "isSignal": true; }; "offset": { "alias": "offset"; "required": false; "isSignal": true; }; "arrowPadding": { "alias": "arrowPadding"; "required": false; "isSignal": true; }; "viewportPadding": { "alias": "viewportPadding"; "required": false; "isSignal": true; }; "autoResize": { "alias": "autoResize"; "required": false; "isSignal": true; }; "shift": { "alias": "shift"; "required": false; "isSignal": true; }; "autoHide": { "alias": "autoHide"; "required": false; "isSignal": true; }; "autoCloseIfReferenceHidden": { "alias": "autoCloseIfReferenceHidden"; "required": false; "isSignal": true; }; "referenceElement": { "alias": "referenceElement"; "required": false; "isSignal": true; }; "mirrorWidth": { "alias": "mirrorWidth"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
393
+ }
394
+
395
+ declare const nextFrame: (cb: () => void) => void;
396
+ declare const fromNextFrame: () => Observable<void>;
397
+ declare const forceReflow: (element?: HTMLElement) => number;
398
+
399
+ type FlipAnimationGroupConfig = {
400
+ /**
401
+ * The elements to animate
402
+ */
403
+ elements: Array<HTMLElement | {
404
+ element: HTMLElement;
405
+ originElement?: HTMLElement;
406
+ }>;
407
+ /**
408
+ * The duration of the animation in milliseconds
409
+ * @default 250
410
+ */
411
+ duration?: number;
412
+ /**
413
+ * The easing function to use for the animation
414
+ * @default 'cubic-bezier(0.4, 0, 0.2, 1)'
415
+ */
416
+ easing?: string;
417
+ };
418
+ declare const createFlipAnimationGroup: (config: FlipAnimationGroupConfig) => {
419
+ updateInit: () => void;
420
+ play: () => void;
421
+ cancel: () => void;
422
+ onStart$: rxjs.Observable<void[]>;
423
+ onFinish$: rxjs.Observable<void[]>;
424
+ onCancel$: rxjs.Observable<void[]>;
425
+ };
426
+ type FlipAnimationConfig = {
427
+ /**
428
+ * The element to animate
429
+ */
430
+ element: HTMLElement;
431
+ /**
432
+ * The element to use as the origin for the animation
433
+ * @default element
434
+ */
435
+ originElement?: HTMLElement;
436
+ /**
437
+ * The duration of the animation in milliseconds
438
+ * @default 250
439
+ */
440
+ duration?: number;
441
+ /**
442
+ * The easing function to use for the animation
443
+ * @default 'cubic-bezier(0.4, 0, 0.2, 1)'
444
+ */
445
+ easing?: string;
446
+ };
447
+ declare const createFlipAnimation: (config: FlipAnimationConfig) => {
448
+ updateInit: () => void;
449
+ play: () => void;
450
+ cancel: () => void;
451
+ onStart$: rxjs.Observable<void>;
452
+ onFinish$: rxjs.Observable<void>;
453
+ onCancel$: rxjs.Observable<void>;
454
+ };
455
+
456
+ declare class ClickOutsideDirective {
457
+ private elementRef;
458
+ private document;
459
+ didClickOutside: _angular_core.OutputEmitterRef<MouseEvent>;
460
+ constructor();
461
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClickOutsideDirective, never>;
462
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ClickOutsideDirective, "[etClickOutside]", never, {}, { "didClickOutside": "etClickOutside"; }, never, never, true, never>;
463
+ }
464
+
465
+ declare class RepeatDirective {
466
+ private mainTemplateRef;
467
+ private viewContainerRef;
468
+ repeatCount: _angular_core.InputSignalWithTransform<number, unknown>;
469
+ views: _angular_core.WritableSignal<EmbeddedViewRef<unknown>[]>;
470
+ constructor();
471
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<RepeatDirective, never>;
472
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<RepeatDirective, "[etRepeat]", never, { "repeatCount": { "alias": "etRepeat"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
473
+ }
474
+
475
+ declare class ScrollObserverEndDirective {
476
+ private elementRef;
477
+ private host;
478
+ constructor();
479
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ScrollObserverEndDirective, never>;
480
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ScrollObserverEndDirective, "[etScrollObserverEnd]", never, {}, {}, never, never, true, never>;
481
+ }
482
+
483
+ declare class ScrollObserverStartDirective {
484
+ private elementRef;
485
+ private host;
486
+ constructor();
487
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ScrollObserverStartDirective, never>;
488
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ScrollObserverStartDirective, "[etScrollObserverStart]", never, {}, {}, never, never, true, never>;
489
+ }
490
+
491
+ declare class ScrollObserverDirective {
492
+ private elementRef;
493
+ enabled: _angular_core.ModelSignal<boolean>;
494
+ private _startEl;
495
+ private _endEl;
496
+ private _startIntersection;
497
+ private _endIntersection;
498
+ isAtStart: Signal<boolean>;
499
+ isAtEnd: Signal<boolean>;
500
+ _registerStart(el: ElementRef<HTMLElement>): void;
501
+ _registerEnd(el: ElementRef<HTMLElement>): void;
502
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ScrollObserverDirective, never>;
503
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ScrollObserverDirective, "[etScrollObserver]", ["etScrollObserver"], { "enabled": { "alias": "enabled"; "required": false; "isSignal": true; }; }, { "enabled": "enabledChange"; }, never, never, true, never>;
504
+ }
505
+
506
+ type DragMoveEvent = {
507
+ readonly stepX: number;
508
+ readonly stepY: number;
509
+ readonly clientX: number;
510
+ readonly clientY: number;
511
+ };
512
+ declare class DragHandleDirective {
513
+ private el;
514
+ commitThreshold: _angular_core.InputSignal<number>;
515
+ disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
516
+ private gestureStart$;
517
+ private gesture$;
518
+ dragTapped: _angular_core.OutputRef<void>;
519
+ dragStarted: _angular_core.OutputRef<void>;
520
+ dragMoved: _angular_core.OutputRef<DragMoveEvent>;
521
+ dragEnded: _angular_core.OutputRef<void>;
522
+ isDragging: _angular_core.Signal<boolean>;
523
+ constructor();
524
+ startGesture(event: PointerEvent): void;
525
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<DragHandleDirective, never>;
526
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<DragHandleDirective, "[etDragHandle]", never, { "commitThreshold": { "alias": "commitThreshold"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "dragTapped": "dragTapped"; "dragStarted": "dragStarted"; "dragMoved": "dragMoved"; "dragEnded": "dragEnded"; }, never, never, true, never>;
527
+ }
528
+
529
+ type OverlayRuntimeRole = 'dialog' | 'alertdialog';
530
+ type OverlayRuntimeAutoFocusTarget = 'container' | 'first-heading' | 'first-tabbable';
531
+ type OverlayRuntimeCloseSource = 'api' | 'escape' | 'outside-pointer';
532
+ type OverlayRuntimeCenteredPosition = {
533
+ kind: 'center';
534
+ };
535
+ type OverlayRuntimeAnchoredPosition = {
536
+ kind: 'anchored';
537
+ referenceElement: HTMLElement;
538
+ placement?: Placement;
539
+ fallbackPlacements?: Placement[];
540
+ offset?: OffsetOptions | null;
541
+ arrowPadding?: Padding | null;
542
+ viewportPadding?: Padding | null;
543
+ autoResize?: boolean;
544
+ shift?: boolean;
545
+ autoHide?: boolean;
546
+ autoCloseIfReferenceHidden?: boolean;
547
+ mirrorWidth?: boolean;
548
+ };
549
+ type OverlayRuntimePositionStrategy = OverlayRuntimeCenteredPosition | OverlayRuntimeAnchoredPosition;
550
+ type OverlayRuntimeElements = {
551
+ rootElement: HTMLElement;
552
+ hostElement: HTMLElement;
553
+ backdropElement: HTMLElement | null;
554
+ paneElement: HTMLElement;
555
+ };
556
+ type OverlayRuntimeCloseEvent<TResult = unknown> = {
557
+ result: TResult | undefined;
558
+ source: OverlayRuntimeCloseSource;
559
+ };
560
+ type OverlayRuntimeComponentBase = {
561
+ animatedLifecycle?: Signal<AnimatedLifecycleDirective | undefined>;
562
+ };
563
+ type OverlayRuntimeMountConfig<TComponent extends object> = {
564
+ id: string;
565
+ component: Type<TComponent>;
566
+ viewContainerRef?: ViewContainerRef;
567
+ injector?: Injector;
568
+ providers?: StaticProvider[];
569
+ role?: OverlayRuntimeRole;
570
+ positionStrategy?: OverlayRuntimePositionStrategy;
571
+ hasBackdrop?: boolean;
572
+ modal?: boolean;
573
+ autoFocus?: OverlayRuntimeAutoFocusTarget | string | false;
574
+ restoreFocus?: boolean;
575
+ closeOnEscape?: boolean;
576
+ closeOnOutsidePointer?: boolean;
577
+ ariaDescribedBy?: string | null;
578
+ ariaLabelledBy?: string | null;
579
+ ariaLabel?: string | null;
580
+ hostClass?: string[];
581
+ backdropClass?: string[];
582
+ paneClass?: string[];
583
+ inputBindings?: Record<string, unknown>;
584
+ };
585
+
586
+ type OverlayRuntimeState = 'mounting' | 'mounted' | 'closing' | 'closed';
587
+ declare const createOverlayRuntimeRef: <TComponent extends object, TResult = unknown>(id: string, config: Omit<OverlayRuntimeMountConfig<TComponent>, "component">, elements: OverlayRuntimeElements, requestClose: (result: TResult | undefined, source: OverlayRuntimeCloseSource) => void) => {
588
+ id: string;
589
+ config: Omit<OverlayRuntimeMountConfig<TComponent>, "component">;
590
+ elements: OverlayRuntimeElements;
591
+ state: _angular_core.Signal<OverlayRuntimeState>;
592
+ componentInstance: _angular_core.Signal<TComponent | null>;
593
+ beforeOpenedSubject: Subject<void>;
594
+ close(result?: TResult, source?: OverlayRuntimeCloseSource): void;
595
+ beforeOpened(): Observable<void>;
596
+ afterOpened(): Observable<void>;
597
+ beforeClosed(): Observable<OverlayRuntimeCloseEvent<TResult>>;
598
+ afterClosed(): Observable<OverlayRuntimeCloseEvent<TResult>>;
599
+ attachComponentRef(componentRef: ComponentRef<TComponent>): void;
600
+ markOpened(): void;
601
+ beginClose(closeEvent: OverlayRuntimeCloseEvent<TResult>): boolean;
602
+ finishClose(closeEvent: OverlayRuntimeCloseEvent<TResult>): void;
603
+ };
604
+ type OverlayRuntimeRef<TComponent extends object = object, TResult = unknown> = ReturnType<typeof createOverlayRuntimeRef<TComponent, TResult>>;
605
+
606
+ declare const FOCUSABLE_SELECTOR: string;
607
+ declare const isHTMLElement: (value: unknown) => value is HTMLElement;
608
+ declare const isFocusable: (element: HTMLElement, document: Document) => boolean;
609
+ declare const getFocusableElements: (container: HTMLElement, document: Document) => HTMLElement[];
610
+ declare const getHeadingElement: (container: HTMLElement) => HTMLElement | null;
611
+ declare const focusElement: (element: HTMLElement | null) => void;
612
+ declare const applyInitialFocus: (paneElement: HTMLElement, autoFocus: OverlayRuntimeAutoFocusTarget | string | false, document: Document) => void;
613
+ declare const setupFocusTrap: (paneElement: HTMLElement, overlayRef: OverlayRuntimeRef<object, unknown>, enabled: boolean, isTopMost: (ref: OverlayRuntimeRef<object, unknown>) => boolean, document: Document) => () => void;
614
+
615
+ declare const injectAngularRootElement: {
616
+ (): _angular_core.WritableSignal<HTMLElement | null>;
617
+ (options: _angular_core.InjectOptions & {
618
+ optional?: false;
619
+ }): _angular_core.WritableSignal<HTMLElement | null>;
620
+ (options: _angular_core.InjectOptions): _angular_core.WritableSignal<HTMLElement | null> | null;
621
+ };
622
+
623
+ declare const provideBoundaryElement: () => _angular_core.Provider[];
624
+ declare const injectBoundaryElement: {
625
+ (): {
626
+ value: _angular_core.Signal<HTMLElement>;
627
+ override: _angular_core.WritableSignal<HTMLElement | null>;
628
+ };
629
+ (options: _angular_core.InjectOptions & {
630
+ optional?: false;
631
+ }): {
632
+ value: _angular_core.Signal<HTMLElement>;
633
+ override: _angular_core.WritableSignal<HTMLElement | null>;
634
+ };
635
+ (options: _angular_core.InjectOptions): {
636
+ value: _angular_core.Signal<HTMLElement>;
637
+ override: _angular_core.WritableSignal<HTMLElement | null>;
638
+ } | null;
639
+ };
640
+ declare const BOUNDARY_ELEMENT_TOKEN: _angular_core.InjectionToken<{
641
+ value: _angular_core.Signal<HTMLElement>;
642
+ override: _angular_core.WritableSignal<HTMLElement | null>;
643
+ }>;
644
+
645
+ type Vec2 = [number, number];
646
+ type ViewportConfig = {
647
+ breakpoints: {
648
+ xs: Vec2;
649
+ sm: Vec2;
650
+ md: Vec2;
651
+ lg: Vec2;
652
+ xl: Vec2;
653
+ '2xl': Vec2;
654
+ };
655
+ };
656
+ type Breakpoint = keyof ViewportConfig['breakpoints'];
657
+ declare const BREAKPOINT_ORDER: Breakpoint[];
658
+ /**
659
+ * Default viewport config based on Tailwind CSS.
660
+ * @see https://tailwindcss.com/docs/screens
661
+ */
662
+ declare const DEFAULT_VIEWPORT_CONFIG: ViewportConfig;
663
+ declare const provideViewportConfig: (valueOverride?: Partial<ViewportConfig> | undefined) => _angular_core.Provider[];
664
+ declare const injectViewportConfig: {
665
+ (): ViewportConfig;
666
+ (options: _angular_core.InjectOptions & {
667
+ optional?: false;
668
+ }): ViewportConfig;
669
+ (options: _angular_core.InjectOptions): ViewportConfig | null;
670
+ };
671
+ type BuildMediaQueryOptions = {
672
+ min?: number | Breakpoint;
673
+ max?: number | Breakpoint;
674
+ };
675
+ declare const provideBreakpointObserver: () => _angular_core.Provider[];
676
+ declare const injectBreakpointObserver: {
677
+ (): {
678
+ observeBreakpoint: (options: BuildMediaQueryOptions) => _angular_core.Signal<boolean>;
679
+ isBreakpointMatched: (options: BuildMediaQueryOptions) => boolean;
680
+ getBreakpointSize: (type: Breakpoint, option: "min" | "max") => number;
681
+ buildMediaQueryString: (options: BuildMediaQueryOptions) => string;
682
+ observeMediaQuery: (mediaQuery: string) => _angular_core.Signal<boolean>;
683
+ isMediaQueryMatched: (mediaQuery: string) => boolean;
684
+ };
685
+ (options: _angular_core.InjectOptions & {
686
+ optional?: false;
687
+ }): {
688
+ observeBreakpoint: (options: BuildMediaQueryOptions) => _angular_core.Signal<boolean>;
689
+ isBreakpointMatched: (options: BuildMediaQueryOptions) => boolean;
690
+ getBreakpointSize: (type: Breakpoint, option: "min" | "max") => number;
691
+ buildMediaQueryString: (options: BuildMediaQueryOptions) => string;
692
+ observeMediaQuery: (mediaQuery: string) => _angular_core.Signal<boolean>;
693
+ isMediaQueryMatched: (mediaQuery: string) => boolean;
694
+ };
695
+ (options: _angular_core.InjectOptions): {
696
+ observeBreakpoint: (options: BuildMediaQueryOptions) => _angular_core.Signal<boolean>;
697
+ isBreakpointMatched: (options: BuildMediaQueryOptions) => boolean;
698
+ getBreakpointSize: (type: Breakpoint, option: "min" | "max") => number;
699
+ buildMediaQueryString: (options: BuildMediaQueryOptions) => string;
700
+ observeMediaQuery: (mediaQuery: string) => _angular_core.Signal<boolean>;
701
+ isMediaQueryMatched: (mediaQuery: string) => boolean;
702
+ } | null;
703
+ };
704
+
705
+ declare const provideFocusVisibleTracker: () => _angular_core.Provider[];
706
+ declare const injectFocusVisibleTracker: {
707
+ (): {
708
+ isFocusVisible: _angular_core.Signal<boolean>;
709
+ };
710
+ (options: _angular_core.InjectOptions & {
711
+ optional?: false;
712
+ }): {
713
+ isFocusVisible: _angular_core.Signal<boolean>;
714
+ };
715
+ (options: _angular_core.InjectOptions): {
716
+ isFocusVisible: _angular_core.Signal<boolean>;
717
+ } | null;
718
+ };
719
+ declare const FOCUS_VISIBLE_TRACKER_TOKEN: _angular_core.InjectionToken<{
720
+ isFocusVisible: _angular_core.Signal<boolean>;
721
+ }>;
722
+
723
+ declare const provideLocale: () => _angular_core.Provider[];
724
+ declare const injectLocale: {
725
+ (): {
726
+ currentLocale: _angular_core.WritableSignal<string>;
727
+ };
728
+ (options: _angular_core.InjectOptions & {
729
+ optional?: false;
730
+ }): {
731
+ currentLocale: _angular_core.WritableSignal<string>;
732
+ };
733
+ (options: _angular_core.InjectOptions): {
734
+ currentLocale: _angular_core.WritableSignal<string>;
735
+ } | null;
736
+ };
737
+
738
+ declare const provideRenderer: () => _angular_core.Provider[];
739
+ declare const injectRenderer: {
740
+ (): {
741
+ addClass: (element: HTMLElement, ...classes: string[]) => void;
742
+ removeClass: (element: HTMLElement, ...classes: string[]) => void;
743
+ toggleClass: (element: HTMLElement, className: string, force?: boolean) => boolean;
744
+ setStyle: (element: HTMLElement, style: Partial<Record<keyof CSSStyleDeclaration, string | null>>, flags?: RendererStyleFlags2) => void;
745
+ removeStyle: (element: HTMLElement, style: keyof CSSStyleDeclaration | string, flags?: RendererStyleFlags2) => void;
746
+ removeStyles: (element: HTMLElement, ...styles: (keyof CSSStyleDeclaration | string)[]) => void;
747
+ setAttribute: (element: HTMLElement, name: string, value: string | null, namespace?: string | null) => void;
748
+ removeAttribute: (element: HTMLElement, ...names: string[]) => void;
749
+ setProperty: (element: HTMLElement, name: string, value: unknown) => void;
750
+ setProperties: (element: HTMLElement, properties: Record<string, unknown>) => void;
751
+ createElement: <K extends keyof HTMLElementTagNameMap>(tagName: K, namespace?: string | null) => HTMLElementTagNameMap[K];
752
+ createText: (value: string) => Text;
753
+ createComment: (value: string) => Comment;
754
+ appendChild: (parent: HTMLElement, newChild: Node) => void;
755
+ insertBefore: (parent: Node, newChild: Node, refChild: Node | null) => void;
756
+ removeChild: (parent: Node, oldChild: Node, isHostElement?: boolean) => void;
757
+ selectRootElement: (selectorOrNode: string | HTMLElement, preserveContent?: boolean) => HTMLElement;
758
+ parentNode: (node: Node) => Node | null;
759
+ nextSibling: (node: Node) => Node | null;
760
+ setValue: (node: Node, value: string) => void;
761
+ listen: (target: HTMLElement | Window | Document | "window" | "document" | "body", eventName: string, callback: (event: Event) => boolean | void) => (() => void);
762
+ destroyNode: (node: Node) => void;
763
+ replaceChild: (parent: Node, newChild: Node, oldChild: Node) => void;
764
+ empty: (element: HTMLElement) => void;
765
+ setTextContent: (element: HTMLElement, text: string) => void;
766
+ setInnerHTML: (element: HTMLElement, html: string) => void;
767
+ setAttributes: (element: HTMLElement, attributes: Record<string, string | null>, namespace?: string | null) => void;
768
+ setDataAttributes: (element: HTMLElement, data: Record<string, string | null>) => void;
769
+ setCssProperty: (element: HTMLElement, name: string, value: string | null) => void;
770
+ setCssProperties: (element: HTMLElement, properties: Record<string, string | null>) => void;
771
+ moveBefore: (config: {
772
+ newParent: HTMLElement;
773
+ child: HTMLElement;
774
+ before?: Node | null;
775
+ }) => void;
776
+ renderer: _angular_core.Renderer2;
777
+ };
778
+ (options: _angular_core.InjectOptions & {
779
+ optional?: false;
780
+ }): {
781
+ addClass: (element: HTMLElement, ...classes: string[]) => void;
782
+ removeClass: (element: HTMLElement, ...classes: string[]) => void;
783
+ toggleClass: (element: HTMLElement, className: string, force?: boolean) => boolean;
784
+ setStyle: (element: HTMLElement, style: Partial<Record<keyof CSSStyleDeclaration, string | null>>, flags?: RendererStyleFlags2) => void;
785
+ removeStyle: (element: HTMLElement, style: keyof CSSStyleDeclaration | string, flags?: RendererStyleFlags2) => void;
786
+ removeStyles: (element: HTMLElement, ...styles: (keyof CSSStyleDeclaration | string)[]) => void;
787
+ setAttribute: (element: HTMLElement, name: string, value: string | null, namespace?: string | null) => void;
788
+ removeAttribute: (element: HTMLElement, ...names: string[]) => void;
789
+ setProperty: (element: HTMLElement, name: string, value: unknown) => void;
790
+ setProperties: (element: HTMLElement, properties: Record<string, unknown>) => void;
791
+ createElement: <K extends keyof HTMLElementTagNameMap>(tagName: K, namespace?: string | null) => HTMLElementTagNameMap[K];
792
+ createText: (value: string) => Text;
793
+ createComment: (value: string) => Comment;
794
+ appendChild: (parent: HTMLElement, newChild: Node) => void;
795
+ insertBefore: (parent: Node, newChild: Node, refChild: Node | null) => void;
796
+ removeChild: (parent: Node, oldChild: Node, isHostElement?: boolean) => void;
797
+ selectRootElement: (selectorOrNode: string | HTMLElement, preserveContent?: boolean) => HTMLElement;
798
+ parentNode: (node: Node) => Node | null;
799
+ nextSibling: (node: Node) => Node | null;
800
+ setValue: (node: Node, value: string) => void;
801
+ listen: (target: HTMLElement | Window | Document | "window" | "document" | "body", eventName: string, callback: (event: Event) => boolean | void) => (() => void);
802
+ destroyNode: (node: Node) => void;
803
+ replaceChild: (parent: Node, newChild: Node, oldChild: Node) => void;
804
+ empty: (element: HTMLElement) => void;
805
+ setTextContent: (element: HTMLElement, text: string) => void;
806
+ setInnerHTML: (element: HTMLElement, html: string) => void;
807
+ setAttributes: (element: HTMLElement, attributes: Record<string, string | null>, namespace?: string | null) => void;
808
+ setDataAttributes: (element: HTMLElement, data: Record<string, string | null>) => void;
809
+ setCssProperty: (element: HTMLElement, name: string, value: string | null) => void;
810
+ setCssProperties: (element: HTMLElement, properties: Record<string, string | null>) => void;
811
+ moveBefore: (config: {
812
+ newParent: HTMLElement;
813
+ child: HTMLElement;
814
+ before?: Node | null;
815
+ }) => void;
816
+ renderer: _angular_core.Renderer2;
817
+ };
818
+ (options: _angular_core.InjectOptions): {
819
+ addClass: (element: HTMLElement, ...classes: string[]) => void;
820
+ removeClass: (element: HTMLElement, ...classes: string[]) => void;
821
+ toggleClass: (element: HTMLElement, className: string, force?: boolean) => boolean;
822
+ setStyle: (element: HTMLElement, style: Partial<Record<keyof CSSStyleDeclaration, string | null>>, flags?: RendererStyleFlags2) => void;
823
+ removeStyle: (element: HTMLElement, style: keyof CSSStyleDeclaration | string, flags?: RendererStyleFlags2) => void;
824
+ removeStyles: (element: HTMLElement, ...styles: (keyof CSSStyleDeclaration | string)[]) => void;
825
+ setAttribute: (element: HTMLElement, name: string, value: string | null, namespace?: string | null) => void;
826
+ removeAttribute: (element: HTMLElement, ...names: string[]) => void;
827
+ setProperty: (element: HTMLElement, name: string, value: unknown) => void;
828
+ setProperties: (element: HTMLElement, properties: Record<string, unknown>) => void;
829
+ createElement: <K extends keyof HTMLElementTagNameMap>(tagName: K, namespace?: string | null) => HTMLElementTagNameMap[K];
830
+ createText: (value: string) => Text;
831
+ createComment: (value: string) => Comment;
832
+ appendChild: (parent: HTMLElement, newChild: Node) => void;
833
+ insertBefore: (parent: Node, newChild: Node, refChild: Node | null) => void;
834
+ removeChild: (parent: Node, oldChild: Node, isHostElement?: boolean) => void;
835
+ selectRootElement: (selectorOrNode: string | HTMLElement, preserveContent?: boolean) => HTMLElement;
836
+ parentNode: (node: Node) => Node | null;
837
+ nextSibling: (node: Node) => Node | null;
838
+ setValue: (node: Node, value: string) => void;
839
+ listen: (target: HTMLElement | Window | Document | "window" | "document" | "body", eventName: string, callback: (event: Event) => boolean | void) => (() => void);
840
+ destroyNode: (node: Node) => void;
841
+ replaceChild: (parent: Node, newChild: Node, oldChild: Node) => void;
842
+ empty: (element: HTMLElement) => void;
843
+ setTextContent: (element: HTMLElement, text: string) => void;
844
+ setInnerHTML: (element: HTMLElement, html: string) => void;
845
+ setAttributes: (element: HTMLElement, attributes: Record<string, string | null>, namespace?: string | null) => void;
846
+ setDataAttributes: (element: HTMLElement, data: Record<string, string | null>) => void;
847
+ setCssProperty: (element: HTMLElement, name: string, value: string | null) => void;
848
+ setCssProperties: (element: HTMLElement, properties: Record<string, string | null>) => void;
849
+ moveBefore: (config: {
850
+ newParent: HTMLElement;
851
+ child: HTMLElement;
852
+ before?: Node | null;
853
+ }) => void;
854
+ renderer: _angular_core.Renderer2;
855
+ } | null;
856
+ };
857
+ type AngularRenderer = NonNullable<ReturnType<typeof injectRenderer>>;
858
+
859
+ type StyleManager = {
860
+ mount: <TComponent>(component: Type<TComponent>) => ComponentRef<TComponent>;
861
+ };
862
+ declare const provideStyleManager: () => _angular_core.Provider[];
863
+ declare const injectStyleManager: {
864
+ (): StyleManager;
865
+ (options: _angular_core.InjectOptions & {
866
+ optional?: false;
867
+ }): StyleManager;
868
+ (options: _angular_core.InjectOptions): StyleManager | null;
869
+ };
870
+
871
+ interface ConsentHandler {
872
+ /** Signal that is `true` when consent has been granted. */
873
+ isGranted: Signal<boolean>;
874
+ /** Grants consent and writes the decision back to the source. */
875
+ grant: () => void;
876
+ /** Revokes consent and writes the decision back to the source. */
877
+ revoke?: () => void;
878
+ }
879
+ type CreateUserConsentProviderOptions = {
880
+ /** The provider result returned by `createStaticProvider` that this consent provider should be associated with. */
881
+ for: InjectionToken<ConsentHandler | null>;
882
+ /**
883
+ * Factory executed inside the injection context that returns a `Signal<boolean>`.
884
+ *
885
+ * @example
886
+ * isGranted: () => inject(CookieService).hasMediaConsent
887
+ */
888
+ isGranted: () => Signal<boolean>;
889
+ /**
890
+ * Factory executed inside the injection context that returns the grant function.
891
+ *
892
+ * @example
893
+ * grant: () => () => inject(CookieService).acceptAll()
894
+ */
895
+ grant: () => () => void;
896
+ /**
897
+ * Factory executed inside the injection context that returns the revoke function.
898
+ *
899
+ * @example
900
+ * revoke : () => () => inject(CookieService).revokeAll()
901
+ */
902
+ revoke?: () => () => void;
903
+ };
904
+ declare const createUserConsentProvider: (options: CreateUserConsentProviderOptions) => Provider;
905
+
906
+ declare const setBaseElementStyles: (config: OverlayRuntimeMountConfig<object>, hostElement: HTMLElement, paneElement: HTMLElement, renderer: AngularRenderer) => void;
907
+ declare const setBackdropStyles: (backdropElement: HTMLElement, renderer: AngularRenderer) => void;
908
+ declare const applyCenteredPosition: (hostElement: HTMLElement, paneElement: HTMLElement, renderer: AngularRenderer, _config: OverlayRuntimeCenteredPosition) => void;
909
+ declare const createAnchoredPositionCleanup: (strategy: OverlayRuntimeAnchoredPosition, paneElement: HTMLElement, overlayRef: OverlayRuntimeRef<object, unknown>, renderer: AngularRenderer) => () => void;
910
+ declare const setupPositioning: (config: OverlayRuntimeMountConfig<object>, hostElement: HTMLElement, paneElement: HTMLElement, overlayRef: OverlayRuntimeRef<object, unknown>, renderer: AngularRenderer) => () => void;
911
+
912
+ type OverlayRuntime = {
913
+ mount: <TComponent extends object, TResult = unknown>(config: OverlayRuntimeMountConfig<TComponent>) => OverlayRuntimeRef<TComponent, TResult>;
914
+ openEntries: ReturnType<typeof computed<OverlayRuntimeRef<object, unknown>[]>>;
915
+ };
916
+ declare const provideOverlayRuntime: () => _angular_core.Provider[];
917
+ declare const injectOverlayRuntime: {
918
+ (): OverlayRuntime;
919
+ (options: _angular_core.InjectOptions & {
920
+ optional?: false;
921
+ }): OverlayRuntime;
922
+ (options: _angular_core.InjectOptions): OverlayRuntime | null;
923
+ };
924
+
925
+ declare const createComponentId: (prefix: string) => string;
926
+
927
+ declare const createDestroy: () => rxjs.Observable<boolean>;
928
+
929
+ declare const injectHostElement: <T = HTMLElement>() => T;
930
+ declare const injectTemplateRef: <C = unknown>() => TemplateRef<C>;
931
+ type CreateProviderOptions = {
932
+ /**
933
+ * Optional name for the provider, useful for debugging.
934
+ * If not provided, the name will be a generated string.
935
+ */
936
+ name?: string;
937
+ /**
938
+ * Optional existing InjectionToken to also provide the created provider under.
939
+ */
940
+ extraInjectionToken?: InjectionToken<unknown>;
941
+ };
942
+ type ProviderResult<T> = readonly [
943
+ provide: () => Provider[],
944
+ inject: {
945
+ (): T;
946
+ (options: InjectOptions & {
947
+ optional?: false;
948
+ }): T;
949
+ (options: InjectOptions): T | null;
950
+ },
951
+ token: InjectionToken<T>
952
+ ];
953
+ type StaticProviderResult<T> = readonly [
954
+ provide: (valueOverride?: Partial<T>) => Provider[],
955
+ inject: {
956
+ (): T;
957
+ (options: InjectOptions & {
958
+ optional?: false;
959
+ }): T;
960
+ (options: InjectOptions): T | null;
961
+ },
962
+ token: InjectionToken<T>
963
+ ];
964
+ type RootProviderResult<T> = readonly [
965
+ inject: {
966
+ (): T;
967
+ (options: InjectOptions & {
968
+ optional?: false;
969
+ }): T;
970
+ (options: InjectOptions): T | null;
971
+ },
972
+ token: InjectionToken<T>
973
+ ];
974
+ declare const createProvider: <T>(factory: () => T, options?: CreateProviderOptions) => ProviderResult<T>;
975
+ declare const createRootProvider: <T>(factory: () => T, options?: CreateProviderOptions) => ProviderResult<T>;
976
+ declare const createStaticProvider: <T>(defaultValue?: T, options?: CreateProviderOptions) => StaticProviderResult<T>;
977
+ declare const createStaticRootProvider: <T>(defaultValue?: T, options?: CreateProviderOptions) => StaticProviderResult<T>;
978
+
979
+ declare const cloneFormGroup: <T extends FormGroup<any>>(formGroup: T) => T;
980
+ declare const getFormGroupValue: <T extends FormGroup>(formGroup: T) => Record<string, unknown>;
981
+
982
+ declare const createRxHostListener: <K extends keyof HTMLElementEventMap>(eventName: K, options?: EventListenerOptions) => rxjs.Observable<HTMLElementEventMap[K]>;
983
+ declare const applyHostListener: <K extends keyof HTMLElementEventMap>(eventName: K, handler: (event: HTMLElementEventMap[K]) => void, options?: EventListenerOptions) => rxjs.Subscription;
984
+ declare const applyHostListeners: (listeners: Partial<{ [K in keyof HTMLElementEventMap]: (event: HTMLElementEventMap[K]) => void; }>, options?: EventListenerOptions) => void;
985
+
986
+ declare class TypedQueryList<T> extends QueryList<T> {
987
+ get changes(): Observable<TypedQueryList<T>>;
988
+ }
989
+ declare function switchQueryListChanges(): <T extends TypedQueryList<unknown> | null | undefined>(source: Observable<T>) => Observable<T>;
990
+
991
+ /**
992
+ * Sets the value of an input signal.
993
+ * See issue: https://github.com/angular/angular/issues/54782
994
+ */
995
+ declare const setInputSignal: <T>(input: InputSignal<T> | InputSignalWithTransform<T, unknown>, value: T) => void;
996
+
997
+ type NgClassType = string | string[] | Set<string> | {
998
+ [klass: string]: any;
999
+ } | null | undefined;
1000
+
1001
+ declare const AT_LEAST_ONE_REQUIRED = "atLeastOneRequired";
1002
+ type ValidateAtLeastOneRequiredConfig = {
1003
+ /**
1004
+ * Keys of form controls to validate in the supplied form group
1005
+ */
1006
+ keys: string[];
1007
+ /**
1008
+ * If true, the value `false` will result in a validation error
1009
+ * @default false
1010
+ */
1011
+ checkFalse?: boolean;
1012
+ };
1013
+ declare const ValidateAtLeastOneRequired: (config: ValidateAtLeastOneRequiredConfig) => ValidatorFn;
1014
+ declare const IS_ARRAY_NOT_EMPTY = "isArrayNotEmpty";
1015
+ declare const IsArrayNotEmpty: (control: AbstractControl) => ValidationErrors | null;
1016
+ declare const IS_EMAIL = "isEmail";
1017
+ declare const IsEmail: (control: AbstractControl) => ValidationErrors | null;
1018
+ declare const MUST_MATCH = "mustMatch";
1019
+ declare const MustMatch: (controlName: string, matchingControlName: string) => (formGroup: AbstractControl) => {
1020
+ mustMatch: boolean;
1021
+ } | null;
1022
+ declare const Validators: {
1023
+ readonly MustMatch: (controlName: string, matchingControlName: string) => (formGroup: AbstractControl) => {
1024
+ mustMatch: boolean;
1025
+ } | null;
1026
+ readonly IsEmail: (control: AbstractControl) => ValidationErrors | null;
1027
+ readonly IsArrayNotEmpty: (control: AbstractControl) => ValidationErrors | null;
1028
+ readonly ValidateAtLeastOneRequired: (config: ValidateAtLeastOneRequiredConfig) => ValidatorFn;
1029
+ };
1030
+
1031
+ declare const clone: <T>(original: T) => T;
1032
+ declare const equal: (foo: any, bar: any) => boolean;
1033
+
1034
+ declare const hasCookie: (name: string) => boolean;
1035
+ declare const getCookie: (name: string) => string | null | undefined;
1036
+ declare const setCookie: (name: string, data: string, expiresInDays?: number | null, domain?: string | null, path?: string, sameSite?: "strict" | "none" | "lax") => void;
1037
+ declare const deleteCookie: (name: string, path?: string, domain?: string | null) => void;
1038
+ declare const getDomain: () => string | null;
1039
+
1040
+ type Translatable = {
1041
+ i18n: string;
1042
+ text: string;
1043
+ };
1044
+
1045
+ declare class KeyPressManager {
1046
+ readonly key: number;
1047
+ private readonly _isKeyPressed$;
1048
+ private readonly _keyPressCount$;
1049
+ private readonly _stopTimeout$;
1050
+ constructor(key: number);
1051
+ isPressed(event: KeyboardEvent): boolean;
1052
+ clear(): void;
1053
+ }
1054
+
1055
+ declare const DISABLE_LOGGER_PARAM = "et-logger-quiet";
1056
+ type CreateLoggerConfig = {
1057
+ scope: string;
1058
+ feature: string;
1059
+ };
1060
+ declare const createLogger: (config: CreateLoggerConfig) => {
1061
+ log: (...args: unknown[]) => void;
1062
+ warn: (...args: unknown[]) => void;
1063
+ error: (...args: unknown[]) => void;
1064
+ };
1065
+
1066
+ declare const clamp: (value: number, min?: number, max?: number) => number;
1067
+ declare const round: (value: number, precision?: number) => number;
1068
+
1069
+ declare const isObject: (value: unknown) => value is Record<string, unknown>;
1070
+ declare const isArray: (value: unknown) => value is unknown[];
1071
+ declare const getObjectProperty: (obj: Record<string, unknown>, prop: string) => unknown;
1072
+
1073
+ declare const RUNTIME_ERROR_NO_DATA = "__ET_NO_DATA__";
1074
+ declare class RuntimeError<T extends number> extends Error {
1075
+ code: T;
1076
+ data: unknown;
1077
+ constructor(code: T, message: null | false | string, data?: unknown);
1078
+ }
1079
+ declare function formatRuntimeError<T extends number>(code: T, message: null | false | string): string;
1080
+
1081
+ type CreateSessionMemoryConfig<TValue> = {
1082
+ key: string;
1083
+ parse: (storedValue: string) => TValue | null;
1084
+ serialize: (value: TValue) => string;
1085
+ };
1086
+ declare const createAutoSessionMemoryKey: ({ element, prefix }: {
1087
+ element: HTMLElement;
1088
+ prefix: string;
1089
+ }) => string;
1090
+ declare const canUseSessionMemory: () => boolean;
1091
+ declare const createSessionMemory: <TValue>({ key, parse, serialize }: CreateSessionMemoryConfig<TValue>) => {
1092
+ read: () => TValue | null;
1093
+ write: (value: TValue) => boolean;
1094
+ remove: () => boolean;
1095
+ };
1096
+
1097
+ declare class NormalizeGameResultTypePipe implements PipeTransform {
1098
+ transform: (type: string | null) => NormalizedGameResultType | null;
1099
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NormalizeGameResultTypePipe, never>;
1100
+ static ɵpipe: _angular_core.ɵɵPipeDeclaration<NormalizeGameResultTypePipe, "etNormalizeGameResultType", true>;
1101
+ }
1102
+ type NormalizedGameResultType = Translatable & {
1103
+ shortCode: string;
1104
+ };
1105
+ declare const normalizeGameResultType: (type: string | null) => NormalizedGameResultType | null;
1106
+
1107
+ declare class NormalizeMatchParticipantsPipe implements PipeTransform {
1108
+ transform: (match: MatchListView | null) => NormalizedMatchParticipants | null;
1109
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NormalizeMatchParticipantsPipe, never>;
1110
+ static ɵpipe: _angular_core.ɵɵPipeDeclaration<NormalizeMatchParticipantsPipe, "etNormalizeMatchParticipants", true>;
1111
+ }
1112
+ type NormalizedMatchParticipants = {
1113
+ home: NormalizedMatchParticipant | null;
1114
+ away: NormalizedMatchParticipant | null;
1115
+ };
1116
+ type NormalizedParticipantType = 'team' | 'player' | 'unknown';
1117
+ type NormalizedMatchParticipant = ({
1118
+ type: 'tbd';
1119
+ participantType: NormalizedParticipantType;
1120
+ data: ParticipantViewUnion | null;
1121
+ } & Translatable) | {
1122
+ type: 'participant';
1123
+ participantType: NormalizedParticipantType;
1124
+ data: ParticipantViewUnion;
1125
+ } | ({
1126
+ type: 'none';
1127
+ participantType: NormalizedParticipantType;
1128
+ data: ParticipantViewUnion | null;
1129
+ } & Translatable);
1130
+ declare const normalizeMatchParticipants: (match: MatchListView | null) => NormalizedMatchParticipants | null;
1131
+ declare const normalizeMatchParticipant: (match: MatchListView | null, side: "home" | "away") => NormalizedMatchParticipant | null;
1132
+
1133
+ declare class NormalizeMatchScorePipe implements PipeTransform {
1134
+ transform: (match: MatchListView | null | undefined) => NormalizedMatchScore | null;
1135
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NormalizeMatchScorePipe, never>;
1136
+ static ɵpipe: _angular_core.ɵɵPipeDeclaration<NormalizeMatchScorePipe, "etNormalizeMatchScore", true>;
1137
+ }
1138
+ declare const enum MatchStateType {
1139
+ PREPARING_ROUND = "preparingRound",
1140
+ PRE_MATCH = "preMatch",
1141
+ LIVE = "live",
1142
+ POST_MATCH = "postMatch",
1143
+ AUTO_WIN = "autoWin"
1144
+ }
1145
+ type NormalizedMatchScore = {
1146
+ home: {
1147
+ score: string | number | null;
1148
+ isWinner: boolean;
1149
+ };
1150
+ away: {
1151
+ score: string | number | null;
1152
+ isWinner: boolean;
1153
+ };
1154
+ subLine: string | null;
1155
+ isNumeric: boolean;
1156
+ };
1157
+ declare const normalizeMatchScore: (match: MatchListView | null | undefined) => NormalizedMatchScore | null;
1158
+ declare const isKnockoutMatch: (match: MatchListView | null | undefined) => boolean;
1159
+ declare const isGroupMatch: (match: MatchListView | null | undefined) => boolean;
1160
+ declare const getKnockoutMatchScore: (score: MatchRankingView | null | undefined) => "match-score.knockout.won" | "match-score.knockout.lost" | "match-score.knockout.tie" | null;
1161
+ declare const getMatchScoreSubLine: (match: MatchListView | null | undefined) => "match-score.groups.sub-line" | null;
1162
+ declare const getGroupMatchScore: (match: MatchListView | null | undefined) => {
1163
+ home: {
1164
+ score: number;
1165
+ isWinner: boolean;
1166
+ };
1167
+ away: {
1168
+ score: number;
1169
+ isWinner: boolean;
1170
+ };
1171
+ } | null;
1172
+ declare const getGroupMatchPoints: (match: MatchListView | null | undefined) => {
1173
+ home: {
1174
+ score: number;
1175
+ isWinner: boolean;
1176
+ };
1177
+ away: {
1178
+ score: number;
1179
+ isWinner: boolean;
1180
+ };
1181
+ } | null;
1182
+
1183
+ declare class NormalizeMatchStatePipe implements PipeTransform {
1184
+ transform: (match: MatchListView | null | undefined) => MatchStateType | null;
1185
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NormalizeMatchStatePipe, never>;
1186
+ static ɵpipe: _angular_core.ɵɵPipeDeclaration<NormalizeMatchStatePipe, "etNormalizeMatchState", true>;
1187
+ }
1188
+ declare const normalizeMatchState: (match: MatchListView | null | undefined) => MatchStateType | null;
1189
+
1190
+ declare class NormalizeMatchTypePipe implements PipeTransform {
1191
+ transform: (matchType: StageType | null | undefined) => Translatable | null;
1192
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NormalizeMatchTypePipe, never>;
1193
+ static ɵpipe: _angular_core.ɵɵPipeDeclaration<NormalizeMatchTypePipe, "etNormalizeMatchType", true>;
1194
+ }
1195
+ declare const normalizeMatchType: (matchType: StageType | null | undefined) => Translatable | null;
1196
+
1197
+ declare class InferMimeTypePipe implements PipeTransform {
1198
+ transform: (srcset: string) => string | null;
1199
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<InferMimeTypePipe, never>;
1200
+ static ɵpipe: _angular_core.ɵɵPipeDeclaration<InferMimeTypePipe, "inferMimeType", true>;
1201
+ }
1202
+ /**
1203
+ * Infers the mime type of a given url or srcset.
1204
+ * If a srcset is provided, it will infer the mime type of the first url in the srcset.
1205
+ * If the srcset contains a query parameter `?fm=`, it will use the value of that parameter, since it is often used to specify the file format in image api's like contentful.
1206
+ */
1207
+ declare const inferMimeType: (srcset: string) => string | null;
1208
+
1209
+ declare class ToArrayPipe implements PipeTransform {
1210
+ transform: (value: number) => number[];
1211
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ToArrayPipe, never>;
1212
+ static ɵpipe: _angular_core.ɵɵPipeDeclaration<ToArrayPipe, "toArray", true>;
1213
+ }
1214
+ declare const toArray: (value: number) => number[];
1215
+ declare const toArrayTrackByFn: TrackByFunction<number>;
1216
+
1217
+ declare const createPropHandlers: () => {
1218
+ classes: {
1219
+ remove: (tokens: string) => void;
1220
+ removeMany: (tokens: string[]) => void;
1221
+ has: (tokens: string) => boolean;
1222
+ push: (tokens: string, signal: _angular_core.Signal<unknown>) => void;
1223
+ pushMany: (map: Record<string, _angular_core.Signal<unknown>>) => void;
1224
+ };
1225
+ attributes: {
1226
+ remove: (tokens: string) => void;
1227
+ removeMany: (tokens: string[]) => void;
1228
+ has: (tokens: string) => boolean;
1229
+ push: (tokens: string, signal: _angular_core.Signal<unknown>) => void;
1230
+ pushMany: (map: Record<string, _angular_core.Signal<unknown>>) => void;
1231
+ };
1232
+ styles: {
1233
+ remove: (tokens: string) => void;
1234
+ removeMany: (tokens: string[]) => void;
1235
+ has: (tokens: string) => boolean;
1236
+ push: (tokens: string, signal: _angular_core.Signal<unknown>) => void;
1237
+ pushMany: (map: Record<string, _angular_core.Signal<unknown>>) => void;
1238
+ };
1239
+ id: string;
1240
+ elementRef: ElementRef<HTMLElement>;
1241
+ };
1242
+ type PropHandlers = ReturnType<typeof createPropHandlers>;
1243
+
1244
+ type Props = Readonly<{
1245
+ attached: Signal<boolean>;
1246
+ attachedElements: PropsAttachedElements;
1247
+ }>;
1248
+ type PropsAttachedElements = {
1249
+ first: Signal<HTMLElement | null>;
1250
+ firstId: Signal<string | null>;
1251
+ get(id: string): HTMLElement | null;
1252
+ };
1253
+ type PropsAttachedElementsInternal = PropsAttachedElements & {
1254
+ has: (id: string) => boolean;
1255
+ push: (id: string, element: HTMLElement) => void;
1256
+ remove: (id: string) => void;
1257
+ };
1258
+ type PropsInternal = {
1259
+ single: boolean;
1260
+ name: string;
1261
+ bindId: boolean;
1262
+ attached: Signal<boolean>;
1263
+ attachedElements: PropsAttachedElementsInternal;
1264
+ classBindings: Record<string, Signal<unknown>> | null;
1265
+ attributeBindings: Record<string, Signal<unknown>> | null;
1266
+ styleBindings: Record<string, Signal<unknown>> | null;
1267
+ staticClassBindings: string[] | null;
1268
+ staticAttributeBindings: Record<string, unknown> | null;
1269
+ staticStyleBindings: Record<string, unknown> | null;
1270
+ attachEventListeners: ((context: {
1271
+ on: HTMLElement['addEventListener'];
1272
+ element: HTMLElement;
1273
+ }) => void) | null;
1274
+ };
1275
+ type CreatePropsOptions = {
1276
+ name: string;
1277
+ bindId?: boolean;
1278
+ single?: boolean;
1279
+ classes?: Record<string, Signal<unknown>>;
1280
+ attributes?: Record<string, Signal<unknown>>;
1281
+ styles?: Record<string, Signal<unknown>>;
1282
+ staticClasses?: string[];
1283
+ staticAttributes?: Record<string, unknown>;
1284
+ staticStyles?: Record<string, unknown>;
1285
+ listeners?: (context: {
1286
+ on: HTMLElement['addEventListener'];
1287
+ element: HTMLElement;
1288
+ }) => void;
1289
+ };
1290
+ declare const createProps: (props: CreatePropsOptions) => Props;
1291
+ type HostProps = {
1292
+ props: Props;
1293
+ handlers: PropHandlers;
1294
+ };
1295
+ declare const createHostProps: (props: CreatePropsOptions) => HostProps;
1296
+
1297
+ declare const createSetup: <T extends Record<string, unknown>>(config: {
1298
+ setupFn: (params: T) => void;
1299
+ this: ThisType<unknown>;
1300
+ }) => (params: T) => void;
1301
+
1302
+ declare const createDependencyStash: <T extends Record<string, WritableSignal<unknown>>>(stash: T) => T & {
1303
+ provideSignal: <K extends keyof T>(data: {
1304
+ signal: Signal<ReturnType<T[K]>>;
1305
+ for: K;
1306
+ }) => void;
1307
+ provideValue: <K extends keyof T>(data: {
1308
+ value: ReturnType<T[K]>;
1309
+ for: K;
1310
+ }) => void;
1311
+ };
1312
+
1313
+ declare const createElementDictionary: () => {
1314
+ ids: _angular_core.Signal<string[]>;
1315
+ elements: _angular_core.Signal<HTMLElement[]>;
1316
+ has: (id: string) => boolean;
1317
+ get: (id: string) => HTMLElement | null;
1318
+ push: (id: string, element: HTMLElement) => void;
1319
+ remove: (id: string) => void;
1320
+ isEmpty: _angular_core.Signal<boolean>;
1321
+ firstElement: _angular_core.Signal<HTMLElement | null>;
1322
+ firstId: _angular_core.Signal<string | null>;
1323
+ };
1324
+
1325
+ type BindPropsOptions = {
1326
+ props: Props | PropsInternal;
1327
+ handlers: PropHandlers;
1328
+ };
1329
+ declare const bindProps: (config: BindPropsOptions) => void;
1330
+ type UnbindPropsOptions = {
1331
+ props: Props | PropsInternal;
1332
+ handlers: PropHandlers;
1333
+ };
1334
+ declare const unbindProps: (config: UnbindPropsOptions) => void;
1335
+
1336
+ declare class PropsDirective {
1337
+ destroyRef: DestroyRef;
1338
+ props: _angular_core.InputSignalWithTransform<PropsInternal, Readonly<{
1339
+ attached: _angular_core.Signal<boolean>;
1340
+ attachedElements: _ethlete_core.PropsAttachedElements;
1341
+ }>>;
1342
+ propHandlers: {
1343
+ classes: {
1344
+ remove: (tokens: string) => void;
1345
+ removeMany: (tokens: string[]) => void;
1346
+ has: (tokens: string) => boolean;
1347
+ push: (tokens: string, signal: _angular_core.Signal<unknown>) => void;
1348
+ pushMany: (map: Record<string, _angular_core.Signal<unknown>>) => void;
1349
+ };
1350
+ attributes: {
1351
+ remove: (tokens: string) => void;
1352
+ removeMany: (tokens: string[]) => void;
1353
+ has: (tokens: string) => boolean;
1354
+ push: (tokens: string, signal: _angular_core.Signal<unknown>) => void;
1355
+ pushMany: (map: Record<string, _angular_core.Signal<unknown>>) => void;
1356
+ };
1357
+ styles: {
1358
+ remove: (tokens: string) => void;
1359
+ removeMany: (tokens: string[]) => void;
1360
+ has: (tokens: string) => boolean;
1361
+ push: (tokens: string, signal: _angular_core.Signal<unknown>) => void;
1362
+ pushMany: (map: Record<string, _angular_core.Signal<unknown>>) => void;
1363
+ };
1364
+ id: string;
1365
+ elementRef: _angular_core.ElementRef<HTMLElement>;
1366
+ };
1367
+ constructor();
1368
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<PropsDirective, never>;
1369
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<PropsDirective, "[etProps]", never, { "props": { "alias": "etProps"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
1370
+ }
1371
+
1372
+ type AnyTemplateType = string | TemplateRef<unknown> | ComponentType<unknown> | TemplateRefWithContext | ComponentTypeWithInputs;
1373
+ type TemplateRefWithContext<T = Record<string, unknown> | undefined, J = unknown> = {
1374
+ template: TemplateRef<J>;
1375
+ context?: T;
1376
+ injector?: Injector;
1377
+ };
1378
+ type ComponentTypeWithInputs<T = Record<string, unknown> | undefined, J = unknown> = {
1379
+ component: ComponentType<J>;
1380
+ inputs?: T;
1381
+ injector?: Injector;
1382
+ };
1383
+ type StringTemplate = {
1384
+ type: 'string';
1385
+ value: string;
1386
+ };
1387
+ type NgTemplateTemplate = {
1388
+ type: 'template';
1389
+ value: TemplateRef<unknown>;
1390
+ context?: Record<string, unknown>;
1391
+ injector: Injector | null;
1392
+ };
1393
+ type ComponentTemplate = {
1394
+ type: 'component';
1395
+ value: ComponentType<unknown>;
1396
+ inputs?: Record<string, unknown>;
1397
+ injector: Injector | null;
1398
+ };
1399
+ declare const templateComputed: (templateSignal: Signal<AnyTemplateType | null>) => Signal<StringTemplate | NgTemplateTemplate | ComponentTemplate | null>;
1400
+
1401
+ type ResizeEdge = 'n' | 's' | 'e' | 'w' | 'ne' | 'nw' | 'se' | 'sw';
1402
+ type ResizeMoveEvent = {
1403
+ edge: ResizeEdge;
1404
+ dx: number;
1405
+ dy: number;
1406
+ };
1407
+ declare class ResizeHandlesComponent {
1408
+ edges: _angular_core.InputSignal<ResizeEdge[]>;
1409
+ disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
1410
+ private gestureStart$;
1411
+ private gesture$;
1412
+ resizeStarted: _angular_core.OutputRef<ResizeEdge>;
1413
+ resizeMoved: _angular_core.OutputRef<ResizeMoveEvent>;
1414
+ resizeEnded: _angular_core.OutputRef<void>;
1415
+ isResizing: _angular_core.Signal<boolean>;
1416
+ activeEdge: _angular_core.Signal<ResizeEdge | null>;
1417
+ readonly edgeCursors: Record<ResizeEdge, string>;
1418
+ startResizeGesture(event: PointerEvent, edge: ResizeEdge): void;
1419
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ResizeHandlesComponent, never>;
1420
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ResizeHandlesComponent, "et-resize-handles", never, { "edges": { "alias": "edges"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "resizeStarted": "resizeStarted"; "resizeMoved": "resizeMoved"; "resizeEnded": "resizeEnded"; }, never, never, true, never>;
1421
+ }
1422
+
1423
+ declare const elementCanScroll: (element?: HTMLElement | null, direction?: "x" | "y") => boolean;
1424
+ type IsElementVisibleOptions = {
1425
+ /**
1426
+ * The element to check if it is visible inside a container.
1427
+ */
1428
+ element?: HTMLElement | null;
1429
+ /**
1430
+ * The container to check if the element is visible inside.
1431
+ * If null or undefined, uses the viewport as the container.
1432
+ * @default null (viewport)
1433
+ */
1434
+ container?: HTMLElement | null;
1435
+ /**
1436
+ * The container's rect to check if the element is visible inside. Can be supplied to reduce the amount of DOM reads.
1437
+ * Only used when container is provided and not null.
1438
+ * @default container.getBoundingClientRect()
1439
+ */
1440
+ containerRect?: DOMRect | null;
1441
+ /**
1442
+ * The element's rect. Can be supplied to reduce the amount of DOM reads.
1443
+ * @default element.getBoundingClientRect()
1444
+ */
1445
+ elementRect?: DOMRect | null;
1446
+ };
1447
+ type CurrentElementVisibility = {
1448
+ /**
1449
+ * Whether the element is visible in the inline direction.
1450
+ */
1451
+ inline: boolean;
1452
+ /**
1453
+ * Whether the element is visible in the block direction.
1454
+ */
1455
+ block: boolean;
1456
+ /**
1457
+ * The percentage of the element that is visible in the inline direction.
1458
+ */
1459
+ inlineIntersection: number;
1460
+ /**
1461
+ * The percentage of the element that is visible in the block direction.
1462
+ */
1463
+ blockIntersection: number;
1464
+ /**
1465
+ * Whether the element is intersecting the container.
1466
+ */
1467
+ isIntersecting: boolean;
1468
+ /**
1469
+ * The ratio of the element that is intersecting the container.
1470
+ */
1471
+ intersectionRatio: number;
1472
+ /**
1473
+ * The element that is being checked for visibility.
1474
+ */
1475
+ element: HTMLElement;
1476
+ /**
1477
+ * The container's rect used for the calculation.
1478
+ */
1479
+ containerRect: DOMRect;
1480
+ /**
1481
+ * The element's rect used for the calculation.
1482
+ */
1483
+ elementRect: DOMRect;
1484
+ };
1485
+ declare const isElementVisible: (options: IsElementVisibleOptions) => CurrentElementVisibility | null;
1486
+ declare const getElementScrollCoordinates: (options: ScrollToElementOptions) => ScrollToOptions;
1487
+ type ScrollToElementOptions = {
1488
+ /**
1489
+ * The element to scroll to.
1490
+ */
1491
+ element?: HTMLElement | null;
1492
+ /**
1493
+ * The scroll container to scroll to the element in.
1494
+ * Must be provided - cannot scroll the viewport programmatically with this function.
1495
+ */
1496
+ container?: HTMLElement | null;
1497
+ /**
1498
+ * The direction to scroll in.
1499
+ * @default 'both'
1500
+ */
1501
+ direction?: 'inline' | 'block' | 'both';
1502
+ /**
1503
+ * The origin of the element to scroll to.
1504
+ * @default 'nearest'
1505
+ */
1506
+ origin?: 'start' | 'end' | 'center' | 'nearest';
1507
+ /**
1508
+ * The scroll behavior.
1509
+ * @default 'smooth'
1510
+ */
1511
+ behavior?: ScrollBehavior;
1512
+ /**
1513
+ * The scroll inline-margin
1514
+ * @default 0
1515
+ */
1516
+ scrollInlineMargin?: number;
1517
+ /**
1518
+ * The scroll block-margin
1519
+ * @default 0
1520
+ */
1521
+ scrollBlockMargin?: number;
1522
+ };
1523
+ declare const scrollToElement: (options: ScrollToElementOptions) => void;
1524
+
1525
+ type ScrollSnapOrigin = 'auto' | 'start' | 'center' | 'end';
1526
+ type ScrollSnapTarget = {
1527
+ /** The element to snap to. */
1528
+ element: HTMLElement;
1529
+ /** The resolved alignment to use when scrolling to the element. */
1530
+ origin: 'start' | 'center' | 'end';
1531
+ } | null;
1532
+ declare const getScrollSnapTarget: (items: HTMLElement[], container: HTMLElement, direction: "horizontal" | "vertical", origin: ScrollSnapOrigin, margin?: number) => ScrollSnapTarget;
1533
+ type ScrollContainerTarget = {
1534
+ element: HTMLElement;
1535
+ origin: 'start' | 'end';
1536
+ } | null;
1537
+ declare const getScrollContainerTarget: (entries: IntersectionObserverEntry[], direction: "start" | "end") => ScrollContainerTarget;
1538
+ type ScrollItemTarget = {
1539
+ element: HTMLElement;
1540
+ index: number;
1541
+ origin: 'start' | 'end' | 'center';
1542
+ } | null;
1543
+ declare const getScrollItemTarget: (entries: IntersectionObserverEntry[], container: HTMLElement, direction: "start" | "end", scrollOrigin: "auto" | "center" | "start" | "end", axisDirection: "horizontal" | "vertical") => ScrollItemTarget;
1544
+
1545
+ declare const previousSignalValue: <T>(signal: Signal<T>) => Signal<T | undefined>;
1546
+ type SyncSignalOptions = {
1547
+ /**
1548
+ * If true, the target signal will not be updated with the source signal's value in a sync operation.
1549
+ * This should be set to true for signals that need to be initialized first before syncing (eg. required inputs)
1550
+ * @default false
1551
+ */
1552
+ skipSyncRead?: boolean;
1553
+ /**
1554
+ * If true, the first time the effect will be triggered will be skipped.
1555
+ * @default false
1556
+ */
1557
+ skipFirstRun?: boolean;
1558
+ };
1559
+ declare const syncSignal: <T>(from: Signal<T>, to: WritableSignal<T>, options?: SyncSignalOptions) => _angular_core.EffectRef;
1560
+ type MaybeSignal<T> = T | Signal<T>;
1561
+ declare const maybeSignalValue: <T>(value: MaybeSignal<T>) => T;
1562
+ /**
1563
+ * A computed that will only be reactive until the source signal contains a truthy value.
1564
+ * All subsequent changes inside the computation will be ignored.
1565
+ */
1566
+ declare const computedTillTruthy: <T>(source: Signal<T>) => Signal<T | null>;
1567
+ /**
1568
+ * A computed that will only be reactive until the source signal contains a falsy value.
1569
+ * All subsequent changes inside the computation will be ignored.
1570
+ */
1571
+ declare const computedTillFalsy: <T>(source: Signal<T>) => Signal<T | null>;
1572
+ /**
1573
+ * A writeable signal that will be set to the provided value once all inputs are set.
1574
+ * During that time, the signal will be set to `null`.
1575
+ */
1576
+ declare const deferredSignal: <T extends () => unknown>(valueFn: T) => WritableSignal<ReturnType<T> | null>;
1577
+ declare const memoizeSignal: <T>(factory: () => Signal<T>) => () => Signal<T>;
1578
+
1579
+ type SignalAnimatedNumberOptions = {
1580
+ /**
1581
+ * The initial value to start animating from.
1582
+ * If not provided, the animation will start from 0
1583
+ */
1584
+ initialValue?: number;
1585
+ /**
1586
+ * Duration of the animation in milliseconds.
1587
+ * @default 1000
1588
+ */
1589
+ duration?: number;
1590
+ /**
1591
+ * Easing function that takes a progress value (0 to 1) and returns an eased value (0 to 1).
1592
+ * Options:
1593
+ * - `easeLinear()`
1594
+ * - `easeIn()`
1595
+ * - `easeOut()`
1596
+ * - `easeInOut()`
1597
+ * - `easeElastic()`
1598
+ * - `easeOutBack()`
1599
+ * - `easeOutBackStrong()`
1600
+ * @default easeOut()
1601
+ */
1602
+ easing?: (t: number) => number;
1603
+ /**
1604
+ * Function to round the animated value.
1605
+ * @default (v: number) => Math.round(v)
1606
+ */
1607
+ round?: (value: number) => number;
1608
+ /**
1609
+ * Callback invoked when the animation starts.
1610
+ */
1611
+ onAnimationStart?: () => void;
1612
+ /**
1613
+ * Callback invoked when the animation ends.
1614
+ */
1615
+ onAnimationEnd?: () => void;
1616
+ };
1617
+ type AnimatedNumberSignal = Signal<number> & {
1618
+ /**
1619
+ * Starts the animation from the current value to the target value.
1620
+ * @returns The animated signal for chaining
1621
+ */
1622
+ play: () => AnimatedNumberSignal;
1623
+ /**
1624
+ * Resets the animation to the initial value and stops any ongoing animation.
1625
+ * @returns The animated signal for chaining
1626
+ */
1627
+ reset: () => AnimatedNumberSignal;
1628
+ /**
1629
+ * Stops the current animation at its current position.
1630
+ * @returns The animated signal for chaining
1631
+ */
1632
+ stop: () => AnimatedNumberSignal;
1633
+ };
1634
+ /**
1635
+ * Creates a signal that animates the transition of a numeric signal's value over time.
1636
+ */
1637
+ declare const signalAnimatedNumber: (source: MaybeSignal<number>, options?: SignalAnimatedNumberOptions) => AnimatedNumberSignal;
1638
+ declare const easeLinear: (t: number) => number;
1639
+ declare const easeIn: (t: number) => number;
1640
+ declare const easeOut: (t: number) => number;
1641
+ declare const easeInOut: (t: number) => number;
1642
+ /** Elastic easing function (overshoots) */
1643
+ declare const easeElastic: (t: number) => number;
1644
+ /** Back easing function (overshoots slightly then settles) */
1645
+ declare const easeOutBack: (t: number) => number;
1646
+ /** Back easing function with more overshoot */
1647
+ declare const easeOutBackStrong: (t: number) => number;
1648
+
1649
+ type BreakpointMap<T> = Partial<Record<Breakpoint, T>>;
1650
+ type BreakpointInput<T> = T | BreakpointMap<T>;
1651
+ declare const breakpointTransformBase: <T, WriteT = BreakpointInput<T>>(coerce: (value: WriteT) => T) => ((value: WriteT) => T);
1652
+ /**
1653
+ * Transform factory for boolean inputs.
1654
+ * Coerces plain values with `booleanAttribute`; resolves {@link BreakpointMap} mobile-first.
1655
+ *
1656
+ * @example
1657
+ * snap = input(false, { transform: boolBreakpointTransform() });
1658
+ * // Template: `snap` | `[snap]="true"` | `[snap]="{ xs: false, md: true }"`
1659
+ */
1660
+ declare const boolBreakpointTransform: () => ((value: BreakpointInput<boolean> | string) => boolean);
1661
+ /**
1662
+ * Transform factory for number inputs.
1663
+ * Coerces plain values with `numberAttribute`; resolves {@link BreakpointMap} mobile-first.
1664
+ *
1665
+ * @example
1666
+ * scrollMargin = input(0, { transform: numberBreakpointTransform() });
1667
+ * // Template: `[scrollMargin]="16"` | `[scrollMargin]="{ xs: 0, md: 16 }"`
1668
+ */
1669
+ declare const numberBreakpointTransform: () => ((value: BreakpointInput<number> | string) => number);
1670
+ /**
1671
+ * Transform factory for any typed input (string unions, arrays, objects, etc.).
1672
+ * Passes plain values through as-is; resolves {@link BreakpointMap} mobile-first.
1673
+ * A value is treated as a {@link BreakpointMap} only when all its keys are valid breakpoint names.
1674
+ *
1675
+ * @example
1676
+ * itemSize = input('auto', { transform: typedBreakpointTransform<ScrollableItemSize>() });
1677
+ * tags = input([], { transform: typedBreakpointTransform<string[]>() });
1678
+ * // Template: `[itemSize]="'third'"` | `[itemSize]="{ xs: 'full', md: 'third' }"`
1679
+ */
1680
+ declare const typedBreakpointTransform: <T>() => ((value: BreakpointInput<T>) => T);
1681
+ type BoolBreakpointSignal = InputSignalWithTransform<boolean, BreakpointInput<boolean> | string>;
1682
+ type NumberBreakpointSignal = InputSignalWithTransform<number, BreakpointInput<number> | string>;
1683
+ type TypedBreakpointSignal<T> = InputSignalWithTransform<T, BreakpointInput<T>>;
1684
+ declare const injectBreakpointInput: <T>(inputSignal: Signal<BreakpointInput<T>>, defaultValue: T) => Signal<T>;
1685
+ declare const booleanBreakpointAttribute: (value: unknown) => BreakpointInput<boolean>;
1686
+ declare const numberBreakpointAttribute: (value: unknown) => BreakpointInput<number>;
1687
+ declare const BREAKPOINT_INSTANCE_TOKEN: InjectionToken<unknown>;
1688
+ declare const provideBreakpointInstance: (componentClass: unknown) => {
1689
+ provide: InjectionToken<unknown>;
1690
+ useExisting: unknown;
1691
+ };
1692
+
1693
+ type ControlValueSignalOptions = {
1694
+ debounceTime?: number;
1695
+ /**
1696
+ * @default false
1697
+ */
1698
+ debounceFirst?: boolean;
1699
+ };
1700
+ declare const controlValueSignal: <TControlInput extends Signal<AbstractControl | null> | AbstractControl, TControl extends TControlInput extends Signal<infer TSignalControl> ? TSignalControl : TControlInput>(control: TControlInput, options?: ControlValueSignalOptions) => Signal<ReturnType<NonNullable<TControl>["getRawValue"]> | null>;
1701
+ /**
1702
+ * The first item in the pair is the previous value and the second item is the current value.
1703
+ */
1704
+ declare const controlValueSignalWithPrevious: <T extends AbstractControl>(control: T, options?: ControlValueSignalOptions) => Signal<[ReturnType<NonNullable<T extends Signal<infer TSignalControl> ? TSignalControl : T>["getRawValue"]> | null, ReturnType<NonNullable<T extends Signal<infer TSignalControl> ? TSignalControl : T>["getRawValue"]> | null]>;
1705
+
1706
+ type SignalElementBindingComplexType = HTMLElement | ElementRef<HTMLElement> | QueryList<ElementRef<HTMLElement> | HTMLElement> | Array<ElementRef<HTMLElement> | HTMLElement> | null | undefined;
1707
+ type SignalElementBindingType = HTMLElement | ElementRef<HTMLElement> | Observable<SignalElementBindingComplexType> | Signal<SignalElementBindingComplexType> | QueryList<ElementRef<HTMLElement> | HTMLElement> | ElementSignal;
1708
+ type ElementSignal = Signal<{
1709
+ currentElements: HTMLElement[];
1710
+ previousElements: HTMLElement[];
1711
+ }>;
1712
+ type ElementSignalValue = ReturnType<ElementSignal>;
1713
+ declare const isElementSignal: (el: unknown) => el is ElementSignal;
1714
+ declare const createDocumentElementSignal: () => ElementSignal;
1715
+ declare const createEmptyElementSignal: () => ElementSignal;
1716
+ declare const buildElementSignal: (el: SignalElementBindingType | null | undefined) => ElementSignal;
1717
+ declare const firstElementSignal: (el: ElementSignal) => Signal<{
1718
+ currentElement: HTMLElement | null;
1719
+ previousElement: HTMLElement | null;
1720
+ }>;
1721
+
1722
+ declare const signalElementChildren: (el: SignalElementBindingType) => _angular_core.Signal<HTMLElement[]>;
1723
+
1724
+ type BuildSignalEffectsConfig<T extends Record<string, Signal<unknown>>> = {
1725
+ /** The tokens to apply and their signal value */
1726
+ tokenMap: T;
1727
+ /** This function will be invoked for elements that were removed from the signal effects */
1728
+ cleanupFn: (el: HTMLElement, tokens: string[]) => void;
1729
+ /** This function will be invoked for elements that were added to the signal effects or when their signal value changes */
1730
+ updateFn: (el: HTMLElement, tokens: string[], conditionResult: unknown) => void;
1731
+ };
1732
+ declare const buildSignalEffects: <T extends Record<string, Signal<unknown>>>(el: SignalElementBindingType, config: BuildSignalEffectsConfig<T>) => {
1733
+ remove: (tokens: string) => void;
1734
+ removeMany: (tokens: string[]) => void;
1735
+ has: (tokens: string) => boolean;
1736
+ push: (tokens: string, signal: Signal<unknown>) => void;
1737
+ pushMany: (map: Record<string, Signal<unknown>>) => void;
1738
+ };
1739
+ declare const signalClasses: <T extends Record<string, Signal<unknown>>>(el: SignalElementBindingType, classMap: T) => {
1740
+ remove: (tokens: string) => void;
1741
+ removeMany: (tokens: string[]) => void;
1742
+ has: (tokens: string) => boolean;
1743
+ push: (tokens: string, signal: Signal<unknown>) => void;
1744
+ pushMany: (map: Record<string, Signal<unknown>>) => void;
1745
+ };
1746
+ declare const signalHostClasses: <T extends Record<string, Signal<unknown>>>(classMap: T) => {
1747
+ remove: (tokens: string) => void;
1748
+ removeMany: (tokens: string[]) => void;
1749
+ has: (tokens: string) => boolean;
1750
+ push: (tokens: string, signal: Signal<unknown>) => void;
1751
+ pushMany: (map: Record<string, Signal<unknown>>) => void;
1752
+ };
1753
+ declare const signalAttributes: <T extends Record<string, Signal<unknown>>>(el: SignalElementBindingType, attributeMap: T) => {
1754
+ remove: (tokens: string) => void;
1755
+ removeMany: (tokens: string[]) => void;
1756
+ has: (tokens: string) => boolean;
1757
+ push: (tokens: string, signal: Signal<unknown>) => void;
1758
+ pushMany: (map: Record<string, Signal<unknown>>) => void;
1759
+ };
1760
+ declare const signalHostAttributes: <T extends Record<string, Signal<unknown>>>(attributeMap: T) => {
1761
+ remove: (tokens: string) => void;
1762
+ removeMany: (tokens: string[]) => void;
1763
+ has: (tokens: string) => boolean;
1764
+ push: (tokens: string, signal: Signal<unknown>) => void;
1765
+ pushMany: (map: Record<string, Signal<unknown>>) => void;
1766
+ };
1767
+ declare const signalStyles: <T extends Record<string, Signal<unknown>>>(el: SignalElementBindingType, styleMap: T) => {
1768
+ remove: (tokens: string) => void;
1769
+ removeMany: (tokens: string[]) => void;
1770
+ has: (tokens: string) => boolean;
1771
+ push: (tokens: string, signal: Signal<unknown>) => void;
1772
+ pushMany: (map: Record<string, Signal<unknown>>) => void;
1773
+ };
1774
+ declare const signalHostStyles: <T extends Record<string, Signal<unknown>>>(styleMap: T) => {
1775
+ remove: (tokens: string) => void;
1776
+ removeMany: (tokens: string[]) => void;
1777
+ has: (tokens: string) => boolean;
1778
+ push: (tokens: string, signal: Signal<unknown>) => void;
1779
+ pushMany: (map: Record<string, Signal<unknown>>) => void;
1780
+ };
1781
+
1782
+ type LogicalSize = {
1783
+ inlineSize: number;
1784
+ blockSize: number;
1785
+ };
1786
+ type ElementRect = {
1787
+ bottom: number;
1788
+ height: number;
1789
+ left: number;
1790
+ right: number;
1791
+ top: number;
1792
+ width: number;
1793
+ x: number;
1794
+ y: number;
1795
+ };
1796
+ type ElementSize = {
1797
+ width: number;
1798
+ height: number;
1799
+ };
1800
+ declare const boundingClientRectToElementRect: (rect: DOMRectReadOnly) => ElementRect;
1801
+ declare const createElementDimensions: (el: HTMLElement | null, rect?: DOMRect) => NullableElementDimensions;
1802
+ type ElementDimensions = {
1803
+ rect: () => ElementRect;
1804
+ client: ElementSize;
1805
+ scroll: ElementSize;
1806
+ offset: ElementSize;
1807
+ };
1808
+ type NullableElementDimensions = {
1809
+ [K in keyof ElementDimensions]: ElementDimensions[K] | null;
1810
+ };
1811
+ declare const signalElementDimensions: (el: SignalElementBindingType) => Signal<NullableElementDimensions>;
1812
+ declare const signalHostElementDimensions: () => Signal<NullableElementDimensions>;
1813
+ declare const injectViewportSize: () => Signal<ElementSize>;
1814
+
1815
+ type SignalElementIntersectionOptions = Omit<IntersectionObserverInit, 'root'> & {
1816
+ root?: SignalElementBindingType;
1817
+ enabled?: Signal<boolean>;
1818
+ };
1819
+ type IntersectionObserverEntryWithDetails = IntersectionObserverEntry & {
1820
+ isAbove: boolean;
1821
+ isBelow: boolean;
1822
+ isLeft: boolean;
1823
+ isRight: boolean;
1824
+ isVisible: boolean;
1825
+ };
1826
+ declare const signalElementIntersection: (el: SignalElementBindingType, options?: SignalElementIntersectionOptions) => Signal<IntersectionObserverEntryWithDetails[]>;
1827
+ declare const signalHostElementIntersection: (options?: SignalElementIntersectionOptions) => Signal<IntersectionObserverEntryWithDetails[]>;
1828
+
1829
+ declare const signalElementMutations: (el: SignalElementBindingType, options?: MutationObserverInit) => _angular_core.Signal<MutationRecord | null>;
1830
+ declare const signalHostElementMutations: (options?: MutationObserverInit) => _angular_core.Signal<MutationRecord | null>;
1831
+
1832
+ type ElementLastScrollDirectionType = 'up' | 'down' | 'left' | 'right';
1833
+ type ElementLastScrollDirection = {
1834
+ type: ElementLastScrollDirectionType;
1835
+ time: number;
1836
+ };
1837
+ declare const signalElementLastScrollDirection: (el: SignalElementBindingType) => _angular_core.Signal<ElementLastScrollDirection | null>;
1838
+ declare const signalHostElementLastScrollDirection: () => _angular_core.Signal<ElementLastScrollDirection | null>;
1839
+
1840
+ type SignalElementScrollStateOptions = {
1841
+ /** The initial scroll position to scroll to. Once a truthy value get's emitted, all further values will be ignored. */
1842
+ initialScrollPosition?: Signal<ScrollToOptions | null>;
1843
+ };
1844
+ type ElementScrollState = {
1845
+ canScroll: boolean;
1846
+ canScrollHorizontally: boolean;
1847
+ canScrollVertically: boolean;
1848
+ elementDimensions: NullableElementDimensions;
1849
+ };
1850
+ declare const areScrollStatesEqual: (a: ElementScrollState, b: ElementScrollState) => boolean;
1851
+ declare const signalElementScrollState: (el: SignalElementBindingType, options?: SignalElementScrollStateOptions) => Signal<ElementScrollState>;
1852
+ declare const signalHostElementScrollState: () => Signal<ElementScrollState>;
1853
+
1854
+ /** Inject a signal containing a boolean value indicating if the viewport is xs */
1855
+ declare const injectIsXs: () => _angular_core.Signal<boolean>;
1856
+ /** Inject a signal containing a boolean value indicating if the viewport is sm */
1857
+ declare const injectIsSm: () => _angular_core.Signal<boolean>;
1858
+ /** Inject a signal containing a boolean value indicating if the viewport is md */
1859
+ declare const injectIsMd: () => _angular_core.Signal<boolean>;
1860
+ /** Inject a signal containing a boolean value indicating if the viewport is lg */
1861
+ declare const injectIsLg: () => _angular_core.Signal<boolean>;
1862
+ /** Inject a signal containing a boolean value indicating if the viewport is xl */
1863
+ declare const injectIsXl: () => _angular_core.Signal<boolean>;
1864
+ /** Inject a signal containing a boolean value indicating if the viewport is 2xl */
1865
+ declare const injectIs2Xl: () => _angular_core.Signal<boolean>;
1866
+ /**
1867
+ * Inject a boolean value indicating if the viewport is matching the provided options.
1868
+ * This value is not reactive. If you want to react to changes, use the {@link injectObserveBreakpoint} function instead.
1869
+ */
1870
+ declare const injectBreakpointIsMatched: (options: BuildMediaQueryOptions) => boolean;
1871
+ /**
1872
+ * Inject a boolean value indicating if the media query is matched.
1873
+ * This value is not reactive. If you want to react to changes, use the {@link injectObserveMediaQuery} function instead.
1874
+ */
1875
+ declare const injectMediaQueryIsMatched: (mediaQuery: string) => boolean;
1876
+ /**
1877
+ * Inject a signal containing a boolean value indicating if the viewport is matching the provided options.
1878
+ */
1879
+ declare const injectObserveBreakpoint: (options: BuildMediaQueryOptions) => _angular_core.Signal<boolean>;
1880
+ /**
1881
+ * Inject a signal containing a boolean value indicating if the media query is matched.
1882
+ */
1883
+ declare const injectObserveMediaQuery: (mediaQuery: string) => _angular_core.Signal<boolean>;
1884
+ /** Inject a signal containing the current breakpoint. */
1885
+ declare const injectCurrentBreakpoint: () => _angular_core.Signal<"xs" | "sm" | "md" | "lg" | "xl" | "2xl">;
1886
+ /** Inject a signal that indicates if the user is using a portrait display */
1887
+ declare const injectIsPortrait: () => _angular_core.Signal<boolean>;
1888
+ /** Inject a signal that indicates if the user is using a landscape display */
1889
+ declare const injectIsLandscape: () => _angular_core.Signal<boolean>;
1890
+ /** Inject a signal containing the current display orientation */
1891
+ declare const injectDisplayOrientation: () => _angular_core.Signal<"portrait" | "landscape">;
1892
+ /** Inject a signal that indicates if the device has a touch input */
1893
+ declare const injectHasTouchInput: () => _angular_core.Signal<boolean>;
1894
+ /** Inject a signal that indicates if the device has a fine input (mouse or stylus) */
1895
+ declare const injectHasPrecisionInput: () => _angular_core.Signal<boolean>;
1896
+ /** Inject a signal containing the current device input type */
1897
+ declare const injectDeviceInputType: () => _angular_core.Signal<"touch" | "mouse">;
1898
+ /** Inject a signal containing a boolean value indicating if the user can hover (eg. using a mouse) */
1899
+ declare const injectCanHover: () => _angular_core.Signal<boolean>;
1900
+ /** Inject a signal containing the viewport dimensions */
1901
+ declare const injectViewportDimensions: () => _angular_core.Signal<_ethlete_core.NullableElementDimensions>;
1902
+ /** Inject a signal containing the scrollbar dimensions. Dimensions will be 0 if scrollbars overlap the page contents (like on mobile). */
1903
+ declare const injectScrollbarDimensions: () => _angular_core.Signal<{
1904
+ width: number;
1905
+ height: number;
1906
+ } | null>;
1907
+
1908
+ /**
1909
+ * Applies scrollbar size CSS variables to the documentElement (html tag) in pixels.
1910
+ * - `--et-sw`: scrollbar width
1911
+ * - `--et-sh`: scrollbar height
1912
+ */
1913
+ declare const writeScrollbarSizeToCssVariables: () => void;
1914
+ /**
1915
+ * Applies viewport size CSS variables to the documentElement (html tag) in pixels.
1916
+ * - `--et-vw`: viewport width excluding scrollbar width
1917
+ * - `--et-vh`: viewport height excluding scrollbar height
1918
+ */
1919
+ declare const writeViewportSizeToCssVariables: () => void;
1920
+
1921
+ type CursorDragScrollDirection = 'horizontal' | 'vertical' | 'both';
1922
+ type CursorDragScrollOptions = {
1923
+ /** If true, cursor drag scrolling will be enabled. */
1924
+ enabled?: Signal<boolean>;
1925
+ /** The allowed scroll direction. */
1926
+ allowedDirection?: MaybeSignal<CursorDragScrollDirection>;
1927
+ };
1928
+ /** A function to apply cursor drag scroll behavior to an element. */
1929
+ declare const useCursorDragScroll: (el: SignalElementBindingType, options?: CursorDragScrollOptions) => {
1930
+ isDragging: Signal<boolean>;
1931
+ currentDragAmount: Signal<{
1932
+ x: number;
1933
+ y: number;
1934
+ }>;
1935
+ };
1936
+
1937
+ type SetupScrollRestorationConfig = {
1938
+ /**
1939
+ * The scrollable container.
1940
+ * @default document.documentElement
1941
+ */
1942
+ scrollElement?: HTMLElement;
1943
+ /**
1944
+ * A list of query params that should trigger a scroll to top.
1945
+ * @default []
1946
+ * @example ['page'] // will scroll to top when the page query param changes
1947
+ */
1948
+ queryParamTriggerList?: string[];
1949
+ /**
1950
+ * Config for fragment scrolling.
1951
+ */
1952
+ fragment?: {
1953
+ /**
1954
+ * Enable fragment scrolling (scroll to element with id)
1955
+ * @default false
1956
+ */
1957
+ enabled?: boolean;
1958
+ /**
1959
+ * Whether to use smooth scrolling or not.
1960
+ * @default false
1961
+ */
1962
+ smooth?: boolean;
1963
+ };
1964
+ };
1965
+ declare const ET_DISABLE_SCROLL_TOP: unique symbol;
1966
+ declare const ET_DISABLE_SCROLL_TOP_AS_RETURN_ROUTE: unique symbol;
1967
+ declare const ET_DISABLE_SCROLL_TOP_ON_PATH_PARAM_CHANGE: unique symbol;
1968
+ type RouterDisableScrollTopConfig = {
1969
+ /**
1970
+ * Whether to disable scroll to top ONLY when navigating back to this route.
1971
+ * @default false
1972
+ */
1973
+ asReturnRoute?: boolean;
1974
+ /**
1975
+ * Whether to disable scroll to top when a path param changes.
1976
+ * @default false
1977
+ */
1978
+ onPathParamChange?: boolean;
1979
+ };
1980
+ declare const routerDisableScrollTop: (config?: RouterDisableScrollTopConfig) => {
1981
+ [ET_DISABLE_SCROLL_TOP_ON_PATH_PARAM_CHANGE]?: boolean | undefined;
1982
+ [ET_DISABLE_SCROLL_TOP]: boolean;
1983
+ } | {
1984
+ [ET_DISABLE_SCROLL_TOP_ON_PATH_PARAM_CHANGE]?: boolean | undefined;
1985
+ [ET_DISABLE_SCROLL_TOP_AS_RETURN_ROUTE]: boolean;
1986
+ };
1987
+ declare const setupScrollRestoration: (config?: SetupScrollRestorationConfig) => void;
1988
+
1989
+ declare const signalIsRendered: () => _angular_core.Signal<boolean>;
1990
+ declare const createIsRenderedSignal: () => {
1991
+ state: _angular_core.WritableSignal<boolean>;
1992
+ bind: () => _angular_core.EffectRef;
1993
+ };
1994
+ declare const createCanAnimateSignal: () => {
1995
+ state: _angular_core.Signal<boolean>;
1996
+ };
1997
+
1998
+ type RouterState = {
1999
+ data: Data;
2000
+ pathParams: Params;
2001
+ queryParams: Params;
2002
+ title: string | null;
2003
+ fragment: string | null;
2004
+ };
2005
+ declare const ET_PROPERTY_REMOVED: unique symbol;
2006
+ type InjectUtilConfig = {
2007
+ /** The injector to use for the injection. Must be provided if the function is not called from within a injection context. */
2008
+ injector?: Injector;
2009
+ };
2010
+ type InjectUtilTransformConfig<In, Out> = {
2011
+ /**
2012
+ * A transform function similar to the `transform` function in Angular input bindings.
2013
+ * Can be used to transform the value before it is returned.
2014
+ * E.g. transforming `"true"` to `true` for a boolean attribute.
2015
+ */
2016
+ transform?: (value: In) => Out;
2017
+ };
2018
+ declare const transformOrReturn: <In, Out>(src: Signal<In>, config?: InjectUtilTransformConfig<In, Out>) => Signal<Out>;
2019
+ /** Inject the current router event */
2020
+ declare const injectRouterEvent: () => Signal<Event$1>;
2021
+ /**
2022
+ * Signal that indicates whether the router has been initialized.
2023
+ * The router is considered initialized once the first NavigationEnd event with an id different than -1 has been emitted.
2024
+ */
2025
+ declare const injectIsRouterInitialized: () => Signal<boolean>;
2026
+ /**
2027
+ * Inject the current url.
2028
+ * The url includes query params as well as the fragment. Use `injectRoute` instead if you are not intrusted in those.
2029
+ * @example "/my-page?query=1&param=true#fragment"
2030
+ */
2031
+ declare const injectUrl: () => Signal<string>;
2032
+ /**
2033
+ * Inject the current route
2034
+ * @example "/my-page"
2035
+ */
2036
+ declare const injectRoute: () => Signal<string>;
2037
+ /**
2038
+ * Inject the complete router state. This includes the current route data, path params, query params, title and fragment.
2039
+ */
2040
+ declare const injectRouterState: () => Signal<RouterState>;
2041
+ /** Inject a signal containing the current route fragment (the part after the # inside the url if present) */
2042
+ declare const injectFragment: <T = string | null>(config?: InjectUtilConfig & InjectUtilTransformConfig<string | null, T>) => Signal<T>;
2043
+ /** Inject all currently available query parameters as a signal */
2044
+ declare const injectQueryParams: () => Signal<Params>;
2045
+ /** Inject all currently available route data as a signal */
2046
+ declare const injectRouteData: () => Signal<Data>;
2047
+ /** Inject the current route title as a signal */
2048
+ declare const injectRouteTitle: <T = string | null>(config?: InjectUtilTransformConfig<string | null, T>) => Signal<T>;
2049
+ /** Inject all currently available path parameters as a signal */
2050
+ declare const injectPathParams: () => Signal<Params>;
2051
+ type InjectQueryParamConfig<T> = InjectUtilTransformConfig<string | null, T> & {
2052
+ /**
2053
+ * If true, the initial value will be read from the browser's url.
2054
+ * Note that this will not work with arrays or complex objects.
2055
+ */
2056
+ requireSync?: boolean;
2057
+ };
2058
+ /** Inject a specific query parameter as a signal */
2059
+ declare const injectQueryParam: <T = string | null>(key: string, config?: InjectQueryParamConfig<T>) => Signal<T>;
2060
+ /** Inject a specific route data item as a signal */
2061
+ declare const injectRouteDataItem: <T = unknown>(key: string, config?: InjectUtilTransformConfig<unknown, T>) => Signal<T>;
2062
+ /** Inject a specific path parameter as a signal */
2063
+ declare const injectPathParam: <T = string | null>(key: string, config?: InjectUtilTransformConfig<string | null, T>) => Signal<T>;
2064
+ /**
2065
+ * Inject query params that changed during navigation. Unchanged query params will be ignored.
2066
+ * Removed query params will be represented by the symbol `ET_PROPERTY_REMOVED`.
2067
+ */
2068
+ declare const injectQueryParamChanges: () => Signal<Record<string, unknown>>;
2069
+ /**
2070
+ * Inject path params that changed during navigation. Unchanged path params will be ignored.
2071
+ * Removed path params will be represented by the symbol `ET_PROPERTY_REMOVED`.
2072
+ */
2073
+ declare const injectPathParamChanges: () => Signal<Record<string, unknown>>;
2074
+
2075
+ type HeadBinding<T> = {
2076
+ id: symbol;
2077
+ value: T;
2078
+ priority?: number;
2079
+ };
2080
+ declare const applyHeadBinding: <T>(binding: MaybeSignal<T | null | undefined>, applyFn: (value: T) => void, removeFn: () => void, isValid?: (value: T | null | undefined) => value is T) => void;
2081
+ declare const createPropertyBinding: <TConfig>(configBuilder: (value: string) => TConfig, applyConfigFn: (config: MaybeSignal<TConfig | null | undefined>) => void) => (binding: MaybeSignal<string | null | undefined>) => void;
2082
+ declare const createArrayPropertyBinding: <TConfig>(configBuilder: (value: string, index: number) => TConfig, applyConfigFn: (config: MaybeSignal<TConfig | null | undefined>) => void) => (binding: MaybeSignal<string[] | null | undefined>) => void;
2083
+ declare const toStringBinding: (binding: MaybeSignal<string | number | null | undefined>) => MaybeSignal<string | null | undefined>;
2084
+ declare const createBulkPropertyBinding: <TConfig extends Record<string, unknown>>(propertyPrefix: string, applyConfigFn: (property: string, binding: MaybeSignal<string | null | undefined>) => void) => (config: TConfig) => void;
2085
+
2086
+ type Context = {
2087
+ '@context': 'https://schema.org';
2088
+ };
2089
+ type Thing = {
2090
+ '@type': string;
2091
+ name?: string;
2092
+ description?: string;
2093
+ url?: string;
2094
+ image?: string | string[];
2095
+ };
2096
+ type Organization = Thing & {
2097
+ '@type': 'Organization';
2098
+ logo?: string;
2099
+ email?: string;
2100
+ telephone?: string;
2101
+ address?: PostalAddress;
2102
+ };
2103
+ type Person = Thing & {
2104
+ '@type': 'Person';
2105
+ givenName?: string;
2106
+ familyName?: string;
2107
+ email?: string;
2108
+ jobTitle?: string;
2109
+ };
2110
+ type Article = Thing & {
2111
+ '@type': 'Article';
2112
+ headline?: string;
2113
+ author?: Person | Organization;
2114
+ datePublished?: string;
2115
+ dateModified?: string;
2116
+ };
2117
+ type WebPage = Thing & {
2118
+ '@type': 'WebPage';
2119
+ headline?: string;
2120
+ author?: Person | Organization;
2121
+ datePublished?: string;
2122
+ };
2123
+ type PostalAddress = {
2124
+ '@type': 'PostalAddress';
2125
+ streetAddress?: string;
2126
+ addressLocality?: string;
2127
+ addressRegion?: string;
2128
+ postalCode?: string;
2129
+ addressCountry?: string;
2130
+ };
2131
+ type BreadcrumbList = Thing & {
2132
+ '@type': 'BreadcrumbList';
2133
+ itemListElement: ListItem[];
2134
+ };
2135
+ type ListItem = {
2136
+ '@type': 'ListItem';
2137
+ position: number;
2138
+ name: string;
2139
+ item?: string;
2140
+ };
2141
+ type SportsEvent = Thing & {
2142
+ '@type': 'SportsEvent';
2143
+ startDate?: string;
2144
+ endDate?: string;
2145
+ location?: Place;
2146
+ competitor?: SportsTeam | Person;
2147
+ organizer?: Organization | Person;
2148
+ sport?: string;
2149
+ };
2150
+ type SportsTeam = Organization & {
2151
+ '@type': 'SportsTeam';
2152
+ athlete?: Person[];
2153
+ coach?: Person;
2154
+ memberOf?: SportsOrganization;
2155
+ };
2156
+ type SportsOrganization = Organization & {
2157
+ '@type': 'SportsOrganization';
2158
+ sport?: string;
2159
+ };
2160
+ type Place = Thing & {
2161
+ '@type': 'Place';
2162
+ address?: PostalAddress;
2163
+ };
2164
+ type VideoGame = Thing & {
2165
+ '@type': 'VideoGame';
2166
+ genre?: string;
2167
+ publisher?: Organization;
2168
+ gamePlatform?: string | string[];
2169
+ playMode?: string;
2170
+ };
2171
+ type VideoGameSeries = Thing & {
2172
+ '@type': 'VideoGameSeries';
2173
+ containsSeason?: CreativeWorkSeason[];
2174
+ };
2175
+ type CreativeWorkSeason = Thing & {
2176
+ '@type': 'CreativeWorkSeason';
2177
+ seasonNumber?: number;
2178
+ startDate?: string;
2179
+ endDate?: string;
2180
+ };
2181
+ type SportsActivityLocation = Place & {
2182
+ '@type': 'SportsActivityLocation';
2183
+ };
2184
+ type WithContext<T extends Thing> = T & Context;
2185
+ type Graph = {
2186
+ '@context': 'https://schema.org';
2187
+ '@graph': Thing[];
2188
+ };
2189
+
2190
+ type jsonLd_d_Article = Article;
2191
+ type jsonLd_d_BreadcrumbList = BreadcrumbList;
2192
+ type jsonLd_d_Context = Context;
2193
+ type jsonLd_d_CreativeWorkSeason = CreativeWorkSeason;
2194
+ type jsonLd_d_Graph = Graph;
2195
+ type jsonLd_d_ListItem = ListItem;
2196
+ type jsonLd_d_Organization = Organization;
2197
+ type jsonLd_d_Person = Person;
2198
+ type jsonLd_d_Place = Place;
2199
+ type jsonLd_d_PostalAddress = PostalAddress;
2200
+ type jsonLd_d_SportsActivityLocation = SportsActivityLocation;
2201
+ type jsonLd_d_SportsEvent = SportsEvent;
2202
+ type jsonLd_d_SportsOrganization = SportsOrganization;
2203
+ type jsonLd_d_SportsTeam = SportsTeam;
2204
+ type jsonLd_d_Thing = Thing;
2205
+ type jsonLd_d_VideoGame = VideoGame;
2206
+ type jsonLd_d_VideoGameSeries = VideoGameSeries;
2207
+ type jsonLd_d_WebPage = WebPage;
2208
+ type jsonLd_d_WithContext<T extends Thing> = WithContext<T>;
2209
+ declare namespace jsonLd_d {
2210
+ export type { jsonLd_d_Article as Article, jsonLd_d_BreadcrumbList as BreadcrumbList, jsonLd_d_Context as Context, jsonLd_d_CreativeWorkSeason as CreativeWorkSeason, jsonLd_d_Graph as Graph, jsonLd_d_ListItem as ListItem, jsonLd_d_Organization as Organization, jsonLd_d_Person as Person, jsonLd_d_Place as Place, jsonLd_d_PostalAddress as PostalAddress, jsonLd_d_SportsActivityLocation as SportsActivityLocation, jsonLd_d_SportsEvent as SportsEvent, jsonLd_d_SportsOrganization as SportsOrganization, jsonLd_d_SportsTeam as SportsTeam, jsonLd_d_Thing as Thing, jsonLd_d_VideoGame as VideoGame, jsonLd_d_VideoGameSeries as VideoGameSeries, jsonLd_d_WebPage as WebPage, jsonLd_d_WithContext as WithContext };
2211
+ }
2212
+
2213
+ type LinkConfig = {
2214
+ rel: string;
2215
+ href: string;
2216
+ hreflang?: string;
2217
+ type?: string;
2218
+ sizes?: string;
2219
+ media?: string;
2220
+ as?: string;
2221
+ crossorigin?: string;
2222
+ integrity?: string;
2223
+ referrerpolicy?: string;
2224
+ /** Unique identifier for the link */
2225
+ key?: string;
2226
+ /** Whether multiple instances of this link are allowed */
2227
+ allowMultiple?: boolean;
2228
+ };
2229
+ type LinkStoreConfig = {
2230
+ /**
2231
+ * Link rels that are allowed to have multiple instances
2232
+ * If you want to override the default set, extend your set from {@link DEFAULT_MULTI_INSTANCE_RELS}.
2233
+ * Otherwise, common multiple instance links may be removed unintentionally.
2234
+ * @example
2235
+ * ```ts
2236
+ * import { DEFAULT_MULTI_INSTANCE_RELS, provideLinkStoreConfig } from '@ethlete/core';
2237
+ *
2238
+ * provideLinkStoreConfig({
2239
+ * multiInstanceRels: new Set([
2240
+ * ...DEFAULT_MULTI_INSTANCE_RELS,
2241
+ * 'custom-rel',
2242
+ * ]),
2243
+ * });
2244
+ * ```
2245
+ */
2246
+ multiInstanceRels: Set<string>;
2247
+ };
2248
+ declare const DEFAULT_MULTI_INSTANCE_RELS: Set<string>;
2249
+ declare const provideLinkStoreConfig: (valueOverride?: Partial<LinkStoreConfig> | undefined) => _angular_core.Provider[];
2250
+ declare const injectLinkStoreConfig: {
2251
+ (): LinkStoreConfig;
2252
+ (options: _angular_core.InjectOptions & {
2253
+ optional?: false;
2254
+ }): LinkStoreConfig;
2255
+ (options: _angular_core.InjectOptions): LinkStoreConfig | null;
2256
+ };
2257
+ declare const provideLinkStore: () => _angular_core.Provider[];
2258
+ declare const injectLinkStore: {
2259
+ (): {
2260
+ addLink: (id: symbol, linkConfig: LinkConfig) => void;
2261
+ removeLink: (id: symbol, key?: string) => void;
2262
+ getLinkKey: (linkConfig: LinkConfig) => string;
2263
+ };
2264
+ (options: _angular_core.InjectOptions & {
2265
+ optional?: false;
2266
+ }): {
2267
+ addLink: (id: symbol, linkConfig: LinkConfig) => void;
2268
+ removeLink: (id: symbol, key?: string) => void;
2269
+ getLinkKey: (linkConfig: LinkConfig) => string;
2270
+ };
2271
+ (options: _angular_core.InjectOptions): {
2272
+ addLink: (id: symbol, linkConfig: LinkConfig) => void;
2273
+ removeLink: (id: symbol, key?: string) => void;
2274
+ getLinkKey: (linkConfig: LinkConfig) => string;
2275
+ } | null;
2276
+ };
2277
+ declare const applyLinkBinding: (binding: MaybeSignal<LinkConfig | null | undefined>) => void;
2278
+ declare const applyCanonicalBinding: (binding: MaybeSignal<string | null | undefined>) => void;
2279
+ declare const applyAlternateBinding: (hreflang: string, binding: MaybeSignal<string | null | undefined>) => void;
2280
+ type AlternateLanguagesConfig = {
2281
+ [hreflang: string]: MaybeSignal<string | null | undefined>;
2282
+ };
2283
+ declare const applyAlternateLanguagesBindings: (config: AlternateLanguagesConfig) => void;
2284
+ declare const applyPrevBinding: (binding: MaybeSignal<string | null | undefined>) => void;
2285
+ declare const applyNextBinding: (binding: MaybeSignal<string | null | undefined>) => void;
2286
+ type ResourceHintsConfig = {
2287
+ preconnect?: MaybeSignal<string[] | null | undefined>;
2288
+ dnsPrefetch?: MaybeSignal<string[] | null | undefined>;
2289
+ prefetch?: MaybeSignal<string[] | null | undefined>;
2290
+ prerender?: MaybeSignal<string[] | null | undefined>;
2291
+ };
2292
+ declare const applyResourceHintsBindings: (config: ResourceHintsConfig) => void;
2293
+
2294
+ type MetaTagConfig = {
2295
+ /** Unique identifier for the tag */
2296
+ key?: string;
2297
+ /** Whether multiple instances of this tag are allowed */
2298
+ allowMultiple?: boolean;
2299
+ charset?: string;
2300
+ content?: string;
2301
+ httpEquiv?: string;
2302
+ id?: string;
2303
+ itemprop?: string;
2304
+ name?: string;
2305
+ property?: string;
2306
+ scheme?: string;
2307
+ url?: string;
2308
+ };
2309
+ type MetaConfig = {
2310
+ /**
2311
+ * A function to transform meta tag content based on locale.
2312
+ * Use `provideLocale()` to update the locale dynamically.
2313
+ */
2314
+ transformer: (content: string, locale: string) => string;
2315
+ /**
2316
+ * Tags that are allowed to have multiple instances
2317
+ * If you want to override the default set, extend your set from {@link DEFAULT_MULTI_INSTANCE_TAGS}.
2318
+ * Otherwise, common multiple instance tags may be removed unintentionally.
2319
+ * @example
2320
+ * ```ts
2321
+ * import { DEFAULT_MULTI_INSTANCE_TAGS, provideMetaConfig } from '@ethlete/core';
2322
+ *
2323
+ * provideMetaConfig({
2324
+ * multiInstanceTags: new Set([
2325
+ * ...DEFAULT_MULTI_INSTANCE_TAGS,
2326
+ * 'name="custom-multiple-tag"',
2327
+ * ]),
2328
+ * });
2329
+ * ```
2330
+ */
2331
+ multiInstanceTags: Set<string>;
2332
+ };
2333
+ declare const DEFAULT_MULTI_INSTANCE_TAGS: Set<string>;
2334
+ declare const provideMetaConfig: (valueOverride?: Partial<MetaConfig> | undefined) => _angular_core.Provider[];
2335
+ declare const injectMetaConfig: {
2336
+ (): MetaConfig;
2337
+ (options: _angular_core.InjectOptions & {
2338
+ optional?: false;
2339
+ }): MetaConfig;
2340
+ (options: _angular_core.InjectOptions): MetaConfig | null;
2341
+ };
2342
+ declare const provideMetaStore: () => _angular_core.Provider[];
2343
+ declare const injectMetaStore: {
2344
+ (): {
2345
+ addTag: (id: symbol, rawConfig: MetaTagConfig) => void;
2346
+ removeTag: (id: symbol, selector?: string) => void;
2347
+ getSelector: (config: MetaTagConfig) => string;
2348
+ };
2349
+ (options: _angular_core.InjectOptions & {
2350
+ optional?: false;
2351
+ }): {
2352
+ addTag: (id: symbol, rawConfig: MetaTagConfig) => void;
2353
+ removeTag: (id: symbol, selector?: string) => void;
2354
+ getSelector: (config: MetaTagConfig) => string;
2355
+ };
2356
+ (options: _angular_core.InjectOptions): {
2357
+ addTag: (id: symbol, rawConfig: MetaTagConfig) => void;
2358
+ removeTag: (id: symbol, selector?: string) => void;
2359
+ getSelector: (config: MetaTagConfig) => string;
2360
+ } | null;
2361
+ };
2362
+ declare const applyMetaBinding: (binding: MaybeSignal<MetaTagConfig | null | undefined>) => void;
2363
+ declare const applyDescriptionBinding: (binding: MaybeSignal<string | null | undefined>) => void;
2364
+ declare const applyKeywordsBinding: (binding: MaybeSignal<string[] | null | undefined>) => void;
2365
+ declare const applyAuthorBinding: (binding: MaybeSignal<string | null | undefined>) => void;
2366
+ type RobotsConfig = {
2367
+ index?: boolean;
2368
+ follow?: boolean;
2369
+ noarchive?: boolean;
2370
+ nosnippet?: boolean;
2371
+ noimageindex?: boolean;
2372
+ maxSnippet?: number;
2373
+ maxImagePreview?: 'none' | 'standard' | 'large';
2374
+ maxVideoPreview?: number;
2375
+ };
2376
+ declare const applyRobotsBinding: (binding: MaybeSignal<RobotsConfig | null | undefined>) => void;
2377
+ declare const applyOgBinding: (property: string, binding: MaybeSignal<string | null | undefined>) => void;
2378
+ type OpenGraphConfig = {
2379
+ title?: MaybeSignal<string | null | undefined>;
2380
+ description?: MaybeSignal<string | null | undefined>;
2381
+ url?: MaybeSignal<string | null | undefined>;
2382
+ type?: MaybeSignal<string | null | undefined>;
2383
+ siteName?: MaybeSignal<string | null | undefined>;
2384
+ locale?: MaybeSignal<string | null | undefined>;
2385
+ image?: MaybeSignal<string | null | undefined>;
2386
+ images?: MaybeSignal<string[] | null | undefined>;
2387
+ imageUrl?: MaybeSignal<string | null | undefined>;
2388
+ imageSecureUrl?: MaybeSignal<string | null | undefined>;
2389
+ imageType?: MaybeSignal<string | null | undefined>;
2390
+ imageWidth?: MaybeSignal<string | number | null | undefined>;
2391
+ imageHeight?: MaybeSignal<string | number | null | undefined>;
2392
+ imageAlt?: MaybeSignal<string | null | undefined>;
2393
+ video?: MaybeSignal<string | null | undefined>;
2394
+ videos?: MaybeSignal<string[] | null | undefined>;
2395
+ videoUrl?: MaybeSignal<string | null | undefined>;
2396
+ videoSecureUrl?: MaybeSignal<string | null | undefined>;
2397
+ videoType?: MaybeSignal<string | null | undefined>;
2398
+ videoWidth?: MaybeSignal<string | number | null | undefined>;
2399
+ videoHeight?: MaybeSignal<string | number | null | undefined>;
2400
+ audio?: MaybeSignal<string | null | undefined>;
2401
+ audios?: MaybeSignal<string[] | null | undefined>;
2402
+ };
2403
+ declare const applyOpenGraphBindings: (config: OpenGraphConfig) => void;
2404
+ type TwitterCardConfig = {
2405
+ card?: MaybeSignal<'summary' | 'summary_large_image' | 'app' | 'player' | null | undefined>;
2406
+ site?: MaybeSignal<string | null | undefined>;
2407
+ siteId?: MaybeSignal<string | null | undefined>;
2408
+ creator?: MaybeSignal<string | null | undefined>;
2409
+ creatorId?: MaybeSignal<string | null | undefined>;
2410
+ title?: MaybeSignal<string | null | undefined>;
2411
+ description?: MaybeSignal<string | null | undefined>;
2412
+ image?: MaybeSignal<string | null | undefined>;
2413
+ images?: MaybeSignal<string[] | null | undefined>;
2414
+ imageAlt?: MaybeSignal<string | null | undefined>;
2415
+ player?: MaybeSignal<string | null | undefined>;
2416
+ playerWidth?: MaybeSignal<string | number | null | undefined>;
2417
+ playerHeight?: MaybeSignal<string | number | null | undefined>;
2418
+ playerStream?: MaybeSignal<string | null | undefined>;
2419
+ };
2420
+ declare const applyTwitterCardBindings: (config: TwitterCardConfig) => void;
2421
+ type ArticleConfig = {
2422
+ publishedTime?: MaybeSignal<string | null | undefined>;
2423
+ modifiedTime?: MaybeSignal<string | null | undefined>;
2424
+ expirationTime?: MaybeSignal<string | null | undefined>;
2425
+ author?: MaybeSignal<string | null | undefined>;
2426
+ authors?: MaybeSignal<string[] | null | undefined>;
2427
+ section?: MaybeSignal<string | null | undefined>;
2428
+ tag?: MaybeSignal<string | null | undefined>;
2429
+ tags?: MaybeSignal<string[] | null | undefined>;
2430
+ };
2431
+ declare const applyArticleBindings: (config: ArticleConfig) => void;
2432
+ type SocialMediaConfig = {
2433
+ title?: MaybeSignal<string | null | undefined>;
2434
+ description?: MaybeSignal<string | null | undefined>;
2435
+ image?: MaybeSignal<string | null | undefined>;
2436
+ url?: MaybeSignal<string | null | undefined>;
2437
+ openGraph?: Partial<OpenGraphConfig>;
2438
+ twitter?: Partial<TwitterCardConfig>;
2439
+ article?: Partial<ArticleConfig>;
2440
+ };
2441
+ declare const applySocialMediaBindings: (config: SocialMediaConfig) => void;
2442
+
2443
+ type MaybeObservable<T> = T | Observable<T>;
2444
+ type SeoConfig = {
2445
+ title?: MaybeObservable<string>;
2446
+ description?: MaybeObservable<string>;
2447
+ keywords?: MaybeObservable<string[]>;
2448
+ icon?: MaybeObservable<string>;
2449
+ themeColor?: MaybeObservable<string>;
2450
+ colorScheme?: MaybeObservable<'light' | 'dark'>;
2451
+ robots?: MaybeObservable<string>;
2452
+ canonical?: MaybeObservable<string>;
2453
+ alternate?: MaybeObservable<AlternateLink>[];
2454
+ og?: MaybeObservable<OpenGraph>;
2455
+ twitter?: MaybeObservable<TwitterCard>;
2456
+ facebook?: MaybeObservable<FacebookCard>;
2457
+ [key: string]: MaybeObservable<unknown>;
2458
+ };
2459
+ type AlternateLink = {
2460
+ href: string;
2461
+ hreflang: string;
2462
+ };
2463
+ type OpenGraph = {
2464
+ title?: MaybeObservable<string>;
2465
+ description?: MaybeObservable<string>;
2466
+ type?: MaybeObservable<string>;
2467
+ url?: MaybeObservable<string>;
2468
+ image?: MaybeObservable<string>;
2469
+ siteName?: MaybeObservable<string>;
2470
+ locale?: MaybeObservable<string>;
2471
+ localeAlternate?: MaybeObservable<string[]>;
2472
+ };
2473
+ type TwitterCard = {
2474
+ card?: MaybeObservable<string>;
2475
+ site?: MaybeObservable<string>;
2476
+ creator?: MaybeObservable<string>;
2477
+ title?: MaybeObservable<string>;
2478
+ description?: MaybeObservable<string>;
2479
+ image?: MaybeObservable<string>;
2480
+ imageAlt?: MaybeObservable<string>;
2481
+ };
2482
+ type FacebookCard = {
2483
+ title?: MaybeObservable<string>;
2484
+ description?: MaybeObservable<string>;
2485
+ image?: MaybeObservable<string>;
2486
+ imageAlt?: MaybeObservable<string>;
2487
+ type?: MaybeObservable<string>;
2488
+ url?: MaybeObservable<string>;
2489
+ siteName?: MaybeObservable<string>;
2490
+ locale?: MaybeObservable<string>;
2491
+ localeAlternate?: MaybeObservable<string[]>;
2492
+ };
2493
+
2494
+ declare const SEO_DIRECTIVE_TOKEN: InjectionToken<SeoDirective>;
2495
+ /** @deprecated use binding utils instead */
2496
+ declare class SeoDirective implements OnInit, OnDestroy {
2497
+ private readonly _metaService;
2498
+ private readonly _titleService;
2499
+ private readonly _onDeactivate$;
2500
+ private _isDeactivated;
2501
+ readonly parent: SeoDirective | null;
2502
+ get config(): SeoConfig;
2503
+ private _config;
2504
+ ngOnInit(): void;
2505
+ ngOnDestroy(): void;
2506
+ updateConfig(config: SeoConfig): void;
2507
+ _activate(): void;
2508
+ _deactivate(): void;
2509
+ private _update;
2510
+ private _cleanUp;
2511
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<SeoDirective, never>;
2512
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SeoDirective, never, never, {}, {}, never, never, true, never>;
2513
+ }
2514
+
2515
+ type StructuredDataConfig = {
2516
+ /**
2517
+ * Where to place the JSON-LD script tag.
2518
+ * - 'head': Traditional placement, loaded before body content
2519
+ * - 'body': Google recommended, better for performance
2520
+ *
2521
+ * Note: You can also use the `StructuredDataComponent` to place structured data
2522
+ * directly within your component templates.
2523
+ *
2524
+ * @default 'body'
2525
+ */
2526
+ placement: 'head' | 'body';
2527
+ };
2528
+ declare const provideStructuredDataConfig: (valueOverride?: Partial<StructuredDataConfig> | undefined) => _angular_core.Provider[];
2529
+ declare const injectStructuredDataConfig: {
2530
+ (): StructuredDataConfig;
2531
+ (options: _angular_core.InjectOptions & {
2532
+ optional?: false;
2533
+ }): StructuredDataConfig;
2534
+ (options: _angular_core.InjectOptions): StructuredDataConfig | null;
2535
+ };
2536
+ declare const provideStructuredDataStore: () => _angular_core.Provider[];
2537
+ declare const injectStructuredDataStore: {
2538
+ (): {
2539
+ addStructuredData: (id: symbol, data: WithContext<Thing> | Graph) => void;
2540
+ removeStructuredData: (id: symbol) => void;
2541
+ };
2542
+ (options: _angular_core.InjectOptions & {
2543
+ optional?: false;
2544
+ }): {
2545
+ addStructuredData: (id: symbol, data: WithContext<Thing> | Graph) => void;
2546
+ removeStructuredData: (id: symbol) => void;
2547
+ };
2548
+ (options: _angular_core.InjectOptions): {
2549
+ addStructuredData: (id: symbol, data: WithContext<Thing> | Graph) => void;
2550
+ removeStructuredData: (id: symbol) => void;
2551
+ } | null;
2552
+ };
2553
+ declare const applyStructuredDataBinding: (binding: MaybeSignal<WithContext<Thing> | Graph | null | undefined>) => void;
2554
+
2555
+ declare class StructuredDataComponent {
2556
+ private sanitizer;
2557
+ data: _angular_core.InputSignal<Graph | WithContext<Thing> | null | undefined>;
2558
+ jsonLD: _angular_core.Signal<_angular_platform_browser.SafeHtml | null>;
2559
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<StructuredDataComponent, never>;
2560
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<StructuredDataComponent, "et-structured-data", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
2561
+ }
2562
+
2563
+ type TitlePart = {
2564
+ /** The text to be displayed as the title */
2565
+ text: string;
2566
+ /** Whether this part should be used as the starting point for the title construction */
2567
+ useAsStart?: boolean;
2568
+ };
2569
+ type TitleConfig = {
2570
+ /**
2571
+ * The divider string used between title parts
2572
+ * @default '|'
2573
+ */
2574
+ divider: string;
2575
+ /** The default title to use when no parts are available */
2576
+ defaultTitle: string;
2577
+ /**
2578
+ * A function to transform the title text based on locale.
2579
+ * Use `provideLocale()` to update the locale dynamically.
2580
+ */
2581
+ transformer: (title: string, locale: string) => string;
2582
+ /**
2583
+ * A title part to be prefixed to all titles
2584
+ */
2585
+ suffixPart?: TitlePart;
2586
+ /**
2587
+ * A title part to be suffixed to all titles
2588
+ */
2589
+ prefixPart?: TitlePart;
2590
+ };
2591
+ declare const provideTitleConfig: (valueOverride?: Partial<TitleConfig> | undefined) => _angular_core.Provider[];
2592
+ declare const injectTitleConfig: {
2593
+ (): TitleConfig;
2594
+ (options: _angular_core.InjectOptions & {
2595
+ optional?: false;
2596
+ }): TitleConfig;
2597
+ (options: _angular_core.InjectOptions): TitleConfig | null;
2598
+ };
2599
+ declare const provideTitleStore: () => _angular_core.Provider[];
2600
+ declare const injectTitleStore: {
2601
+ (): {
2602
+ title: _angular_core.Signal<string>;
2603
+ addPart: (id: symbol, part: TitlePart) => void;
2604
+ removePart: (id: symbol) => void;
2605
+ };
2606
+ (options: _angular_core.InjectOptions & {
2607
+ optional?: false;
2608
+ }): {
2609
+ title: _angular_core.Signal<string>;
2610
+ addPart: (id: symbol, part: TitlePart) => void;
2611
+ removePart: (id: symbol) => void;
2612
+ };
2613
+ (options: _angular_core.InjectOptions): {
2614
+ title: _angular_core.Signal<string>;
2615
+ addPart: (id: symbol, part: TitlePart) => void;
2616
+ removePart: (id: symbol) => void;
2617
+ } | null;
2618
+ };
2619
+ declare const applyHeadTitleBinding: (binding: MaybeSignal<string | number | null | undefined>, options?: Omit<TitlePart, "text">) => void;
2620
+
2621
+ export { ANIMATABLE_TOKEN, ANIMATED_IF_TOKEN, ANIMATED_LIFECYCLE_TOKEN, AT_LEAST_ONE_REQUIRED, AnimatableDirective, AnimatedIfDirective, AnimatedLifecycleDirective, AnimatedOverlayDirective, BOUNDARY_ELEMENT_TOKEN, BREAKPOINT_INSTANCE_TOKEN, BREAKPOINT_ORDER, COLOR_PROVIDER, ClickOutsideDirective, ColorInteractiveContainerDirective, ColorInteractiveDirective, ColorInteractiveExcludeDirective, ColorInteractiveHasFocusDirective, DEFAULT_MULTI_INSTANCE_RELS, DEFAULT_MULTI_INSTANCE_TAGS, DEFAULT_VIEWPORT_CONFIG, DISABLE_LOGGER_PARAM, DragHandleDirective, ET_DISABLE_SCROLL_TOP, ET_DISABLE_SCROLL_TOP_AS_RETURN_ROUTE, ET_DISABLE_SCROLL_TOP_ON_PATH_PARAM_CHANGE, ET_PROPERTY_REMOVED, FOCUSABLE_SELECTOR, FOCUS_VISIBLE_TRACKER_TOKEN, IS_ARRAY_NOT_EMPTY, IS_EMAIL, InferMimeTypePipe, IsArrayNotEmpty, IsEmail, jsonLd_d as JsonLD, KeyPressManager, MUST_MATCH, MatchStateType, MustMatch, NormalizeGameResultTypePipe, NormalizeMatchParticipantsPipe, NormalizeMatchScorePipe, NormalizeMatchStatePipe, NormalizeMatchTypePipe, PropsDirective, ProvideColorDirective, ProvideSurfaceDirective, RUNTIME_ERROR_NO_DATA, RepeatDirective, ResizeHandlesComponent, RuntimeError, SEO_DIRECTIVE_TOKEN, SURFACE_PROVIDER, SURFACE_TYPE, ScrollObserverDirective, ScrollObserverEndDirective, ScrollObserverStartDirective, SeoDirective, StructuredDataComponent, SurfaceInteractiveDirective, ToArrayPipe, TypedQueryList, ValidateAtLeastOneRequired, Validators, applyAlternateBinding, applyAlternateLanguagesBindings, applyArticleBindings, applyAuthorBinding, applyCanonicalBinding, applyCenteredPosition, applyDescriptionBinding, applyHeadBinding, applyHeadTitleBinding, applyHostListener, applyHostListeners, applyInitialFocus, applyKeywordsBinding, applyLinkBinding, applyMetaBinding, applyNextBinding, applyOgBinding, applyOpenGraphBindings, applyPrevBinding, applyResourceHintsBindings, applyRobotsBinding, applySocialMediaBindings, applyStructuredDataBinding, applyTwitterCardBindings, areScrollStatesEqual, bindProps, boolBreakpointTransform, booleanBreakpointAttribute, boundingClientRectToElementRect, breakpointTransformBase, buildElementSignal, buildSignalEffects, canUseSessionMemory, clamp, clone, cloneFormGroup, computedTillFalsy, computedTillTruthy, controlValueSignal, controlValueSignalWithPrevious, createAnchoredPositionCleanup, createArrayPropertyBinding, createAutoSessionMemoryKey, createBulkPropertyBinding, createCanAnimateSignal, createComponentId, createCssColorThemeName, createCssSurfaceName, createDependencyStash, createDestroy, createDocumentElementSignal, createElementDictionary, createElementDimensions, createEmptyElementSignal, createFlipAnimation, createFlipAnimationGroup, createHostProps, createIsRenderedSignal, createLogger, createOverlayRuntimeRef, createPropHandlers, createPropertyBinding, createProps, createProvider, createRootProvider, createRootThemeCss, createRxHostListener, createSessionMemory, createSetup, createStaticProvider, createStaticRootProvider, createSwatchCss, createTailwindColorThemes, createTailwindCssVar, createTailwindRgbVar, createThemeStyle, createUserConsentProvider, deferredSignal, deleteCookie, easeElastic, easeIn, easeInOut, easeLinear, easeOut, easeOutBack, easeOutBackStrong, elementCanScroll, equal, firstElementSignal, focusElement, forceReflow, formatRuntimeError, fromNextFrame, getCookie, getDomain, getElementScrollCoordinates, getFocusableElements, getFormGroupValue, getGroupMatchPoints, getGroupMatchScore, getHeadingElement, getKnockoutMatchScore, getMatchScoreSubLine, getObjectProperty, getScrollContainerTarget, getScrollItemTarget, getScrollSnapTarget, hasCookie, inferMimeType, injectAngularRootElement, injectBoundaryElement, injectBreakpointInput, injectBreakpointIsMatched, injectBreakpointObserver, injectCanHover, injectColorThemes, injectColorThemesPrefix, injectCurrentBreakpoint, injectDeviceInputType, injectDisplayOrientation, injectErrorTheme, injectFocusVisibleTracker, injectFragment, injectHasPrecisionInput, injectHasTouchInput, injectHostElement, injectIs2Xl, injectIsLandscape, injectIsLg, injectIsMd, injectIsPortrait, injectIsRouterInitialized, injectIsSm, injectIsXl, injectIsXs, injectLinkStore, injectLinkStoreConfig, injectLocale, injectMediaQueryIsMatched, injectMetaConfig, injectMetaStore, injectObserveBreakpoint, injectObserveMediaQuery, injectOverlayRuntime, injectPathParam, injectPathParamChanges, injectPathParams, injectQueryParam, injectQueryParamChanges, injectQueryParams, injectRenderer, injectRoute, injectRouteData, injectRouteDataItem, injectRouteTitle, injectRouterEvent, injectRouterState, injectScrollbarDimensions, injectStructuredDataConfig, injectStructuredDataStore, injectStyleManager, injectSuccessTheme, injectSurfaceContextTracker, injectSurfaceThemes, injectSurfaceThemesPrefix, injectTemplateRef, injectTitleConfig, injectTitleStore, injectUrl, injectViewportConfig, injectViewportDimensions, injectViewportSize, injectWarningTheme, isArray, isElementSignal, isElementVisible, isFocusable, isGroupMatch, isHTMLElement, isKnockoutMatch, isObject, maybeSignalValue, memoizeSignal, nextFrame, normalizeGameResultType, normalizeMatchParticipant, normalizeMatchParticipants, normalizeMatchScore, normalizeMatchState, normalizeMatchType, numberBreakpointAttribute, numberBreakpointTransform, previousSignalValue, provideBoundaryElement, provideBreakpointInstance, provideBreakpointObserver, provideColorThemes, provideColorThemesWithTailwind4, provideFocusVisibleTracker, provideLinkStore, provideLinkStoreConfig, provideLocale, provideMetaConfig, provideMetaStore, provideOverlayRuntime, provideRenderer, provideStructuredDataConfig, provideStructuredDataStore, provideStyleManager, provideSurfaceContextTracker, provideSurfaceThemesWithTailwind4, provideTitleConfig, provideTitleStore, provideViewportConfig, resolveSurfaceByElevation, round, routerDisableScrollTop, scrollToElement, setBackdropStyles, setBaseElementStyles, setCookie, setInputSignal, setupFocusTrap, setupPositioning, setupScrollRestoration, signalAnimatedNumber, signalAttributes, signalClasses, signalElementChildren, signalElementDimensions, signalElementIntersection, signalElementLastScrollDirection, signalElementMutations, signalElementScrollState, signalHostAttributes, signalHostClasses, signalHostElementDimensions, signalHostElementIntersection, signalHostElementLastScrollDirection, signalHostElementMutations, signalHostElementScrollState, signalHostStyles, signalIsRendered, signalStyles, switchQueryListChanges, syncSignal, templateComputed, toArray, toArrayTrackByFn, toStringBinding, transformOrReturn, typedBreakpointTransform, unbindProps, useCursorDragScroll, writeScrollbarSizeToCssVariables, writeViewportSizeToCssVariables, ɵProvideColorThemes, ɵProvideColorThemesPrefix, ɵProvideSurfaceThemes, ɵProvideSurfaceThemesPrefix };
2622
+ export type { AlternateLanguagesConfig, AlternateLink, AngularRenderer, AnimatedLifecycleState, AnimatedNumberSignal, AnimatedOverlayComponentBase, AnimatedOverlayMountConfig, AnimatedOverlayState, AnimationEndEvent, AnyTemplateType, ArticleConfig, BindPropsOptions, BoolBreakpointSignal, Breakpoint, BreakpointInput, BreakpointMap, BuildMediaQueryOptions, BuildSignalEffectsConfig, ColorTheme, ColorThemeType, ComponentTemplate, ComponentTypeWithInputs, ConsentHandler, ControlValueSignalOptions, CreateLoggerConfig, CreatePropsOptions, CreateProviderOptions, CreateSessionMemoryConfig, CreateUserConsentProviderOptions, CurrentElementVisibility, CursorDragScrollDirection, CursorDragScrollOptions, DragMoveEvent, ElementDimensions, ElementLastScrollDirection, ElementLastScrollDirectionType, ElementRect, ElementScrollState, ElementSignal, ElementSignalValue, ElementSize, FacebookCard, FlipAnimationConfig, HeadBinding, HostProps, InjectQueryParamConfig, InjectUtilConfig, InjectUtilTransformConfig, IntersectionObserverEntryWithDetails, IsElementVisibleOptions, LinkConfig, LinkStoreConfig, LogicalSize, MaybeObservable, MaybeSignal, MetaConfig, MetaTagConfig, NgClassType, NgTemplateTemplate, NormalizedGameResultType, NormalizedMatchParticipant, NormalizedMatchParticipants, NormalizedMatchScore, NullableElementDimensions, NumberBreakpointSignal, OnThemeColorMap, OpenGraph, OpenGraphConfig, OverlayRuntimeAnchoredPosition, OverlayRuntimeAutoFocusTarget, OverlayRuntimeCenteredPosition, OverlayRuntimeCloseEvent, OverlayRuntimeCloseSource, OverlayRuntimeComponentBase, OverlayRuntimeElements, OverlayRuntimeMountConfig, OverlayRuntimePositionStrategy, OverlayRuntimeRef, OverlayRuntimeRole, OverlayRuntimeState, PropHandlers, Props, PropsAttachedElements, PropsAttachedElementsInternal, PropsInternal, ProviderResult, ResizeEdge, ResizeMoveEvent, ResourceHintsConfig, RobotsConfig, RootProviderResult, RouterDisableScrollTopConfig, RouterState, ScrollContainerTarget, ScrollItemTarget, ScrollSnapOrigin, ScrollSnapTarget, ScrollToElementOptions, SeoConfig, SetupScrollRestorationConfig, SignalAnimatedNumberOptions, SignalElementBindingComplexType, SignalElementBindingType, SignalElementIntersectionOptions, SignalElementScrollStateOptions, SocialMediaConfig, StaticProviderResult, StringTemplate, StructuredDataConfig, StyleManager, SurfaceContextEntry, SurfaceContextTracker, SurfaceInteractionColor, SurfaceTheme, SurfaceThemeColor, SurfaceType, SyncSignalOptions, TemplateRefWithContext, ThemeColor, ThemeColorMap, ThemeHSLColor, ThemeInkColorMap, ThemeRGBColor, ThemeSwatch, TitleConfig, TitlePart, Translatable, TwitterCard, TwitterCardConfig, TypedBreakpointSignal, UnbindPropsOptions, ValidateAtLeastOneRequiredConfig, Vec2, ViewportConfig };