import * as _angular_core from '@angular/core'; import { OnDestroy, OnInit } from '@angular/core'; import { Subject } from 'rxjs'; import * as i2 from '@angular/common'; declare enum ProgressBarType { CLASSIC = "classic", ROUNDED = "rounded", SQUARE = "square" } declare class ProgressBarEvent { percent: number; constructor(percent: number); } declare class NgxSimpleProgressBarService implements OnDestroy { readonly progressEvent: Subject; private readonly DEFAULT_SPEED; private readonly COMPLETION_SPEED; private readonly MAX_PERCENT; private readonly MIN_PERCENT; private percent; private speed?; private counter?; private subscription; ngOnDestroy(): void; /** * The method launches the progressbar from the specified (or default) initial percentage * at the specified (or default) rate. * * @param percent - the initial percentage value to start from; optional, default: 0 * @param speed - the number of milliseconds at which rate our percent is increased by 1; optional, default: 50ms */ startProgress(percent?: number, speed?: number): void; /** * The method stops the progress. */ stopProgress(): void; /** * The method resets the value of the progressbar to 0%. * (It does not stop the progress, it will restart from 0%.) */ resetProgress(): void; /** * The method speeds up the progress (1 percent increase every 5 milliseconds) * and the progress stops at 100%. */ completeProgress(): void; private increasePercent; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵprov: _angular_core.ɵɵInjectableDeclaration; } declare class NgxSimpleProgressBarComponent implements OnInit { progressBarType: _angular_core.InputSignal; color: _angular_core.InputSignal; backgroundColor: _angular_core.InputSignal; height: _angular_core.InputSignal; percent: _angular_core.ModelSignal; isStatic: _angular_core.InputSignal; width: _angular_core.Signal; resolvedHeight: _angular_core.Signal; private readonly CLASSIC_HEIGHT; private readonly ROUND_HEIGHT; private readonly SQUARE_HEIGHT; private readonly progressBarService; private readonly destroyRef; ngOnInit(): void; private setHeight; private observeProgressBarEvents; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class NgxSimpleProgressBarModule { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵmod: _angular_core.ɵɵNgModuleDeclaration; static ɵinj: _angular_core.ɵɵInjectorDeclaration; } declare class NgxSimpleProgressBarStandaloneComponent implements OnInit { progressBarType: _angular_core.InputSignal; color: _angular_core.InputSignal; backgroundColor: _angular_core.InputSignal; height: _angular_core.InputSignal; percent: _angular_core.ModelSignal; isStatic: _angular_core.InputSignal; width: _angular_core.Signal; resolvedHeight: _angular_core.Signal; private readonly CLASSIC_HEIGHT; private readonly ROUND_HEIGHT; private readonly SQUARE_HEIGHT; private readonly progressBarService; private readonly destroyRef; ngOnInit(): void; private setHeight; private observeProgressBarEvents; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } export { NgxSimpleProgressBarComponent, NgxSimpleProgressBarModule, NgxSimpleProgressBarService, NgxSimpleProgressBarStandaloneComponent, ProgressBarEvent, ProgressBarType };