import * as _angular_core from '@angular/core'; /** * Easing function type definition. */ type EasingFn = (t: number) => number; /** * A counter that animates a numeric value from a start to an end value over a specified duration using an easing function. */ declare class Counter { readonly from: number; readonly to: number; readonly duration: number; private _subscription?; readonly value: _angular_core.WritableSignal; readonly running: _angular_core.WritableSignal; readonly easing: EasingFn; constructor(from: number, to: number, duration?: number, easing?: EasingFn, currentValue?: number); /** * Resets the counter and starts it. * This method should be called in a browser environment. * @returns void */ start(): void; /** * Stops the counter animation. */ stop(): void; } /** * A collection of common easing functions for animations. */ declare const easingFunctions: { linear: (t: number) => number; easeIn: (t: number) => number; easeOut: (t: number) => number; easeInOut: (t: number) => number; smooth: (t: number) => number; }; declare class StyleManager { private readonly _rendererFactory; private readonly _document; private readonly _renderer; private readonly _loadedStyles; /** * Loads a CSS * @param url * @returns Promise */ load(url: string): Promise; /** * Unloads a CSS from the DOM * @param url * @returns void */ unload(url: string): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵprov: _angular_core.ɵɵInjectableDeclaration; } export { Counter, StyleManager, easingFunctions }; export type { EasingFn };