import * as i0 from '@angular/core'; import { OnInit } from '@angular/core'; import * as i3 from '@odx/angular'; /** * Represents a loading spinner component. */ declare class LoadingSpinnerComponent implements OnInit { private readonly windowRef; protected backgroundColor: string | null; readonly element: i0.ElementRef; /** * Indicates whether the color of the loading spinner should be automatically determined. * If set to true, the color will be based on the theme of the parent container. * If set to false, the color will be the default color specified in the component's styles. * * @type {boolean} * @default false */ autoColor: boolean; ngOnInit(): void; private resolveBackgroundColor; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * A directive that controls the display of a loading spinner overlay on the host element. * This directive can dynamically create or remove a loading spinner based on the `isLoading` state. * It modifies the host element's styles to ensure the spinner is displayed correctly, and optionally, * it can set a minimum height to prevent layout shifts. */ declare class LoadingSpinnerDirective { private readonly dynamicViewService; private readonly hostElement; private readonly renderer; private readonly injector; private readonly windowRef; private parentMinHeight?; private viewRef; /** * Whether the spinner should automatically adjust its color based on the background. * Allows the user to specify if the spinner should use automatic color adjustment. * * @type {boolean} * @default false */ autoColor: boolean; /** * Controls whether the spinner is visible or not. * Manages the loading state, showing or hiding the spinner accordingly. * * @type {boolean} */ set isLoading(value: boolean); get isLoading(): boolean; /** * Sets the minimum height for the host element when the spinner is active, to avoid layout shifts. * Specifies the minimum height for the spinner's parent element. * * @type {number} */ set minHeight(value: number); /** * Resets styles applied to the parent element when the spinner is removed. * Removes the class, minHeight, and position styles. */ resetParentStyles(): void; private setParentHeight; private createSpinner; private removeSpinner; private hasStaticPosition; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; static ngAcceptInputType_autoColor: unknown; static ngAcceptInputType_isLoading: unknown; static ngAcceptInputType_minHeight: unknown; } declare class LoadingSpinnerModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { LoadingSpinnerComponent, LoadingSpinnerDirective, LoadingSpinnerModule };