import * as i0 from '@angular/core'; import { OnInit } from '@angular/core'; declare class ButtonDirective implements OnInit { private _loadingElement; private _element; private _renderer; private _http; private _destroyRef; /** * The IDs of the HTTP requests that this button listens to. * If one of these requests is in progress, it will show a loading indicator or will be disabled based on 'showLoading' and 'disableOnLoading' properties. */ readonly request: i0.InputSignal; /** * Whether the button is disabled or not. */ readonly disabled: i0.ModelSignal; /** * Whether to wait for the HTTP response before enabling the button again. * If true, the button will remain disabled until the HTTP request completes. * This is useful for preventing multiple clicks while waiting for a response. * Default is true. */ readonly disableDuringRequest: i0.InputSignalWithTransform; /** * Whether to show a loading indicator when the HTTP request is in progress. * If true, a loading spinner will be displayed on the button while the request is being processed. * Default is true. */ readonly loadingIndicator: i0.InputSignalWithTransform; ngOnInit(): void; private _showLoading; private _hideLoading; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class ButtonModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { ButtonDirective, ButtonModule };