import { type OnInit } from '@angular/core'; import { Observable } from 'rxjs'; import * as i0 from "@angular/core"; export type ResizeOptions = { box: ResizeObserverBoxOptions; debounce: number | { scroll: number; resize: number; }; scroll: boolean; offsetSize: boolean; emitInZone: boolean; emitInitialResult: boolean; }; export declare const defaultResizeOptions: ResizeOptions; export declare const injectResizeOptions: { (): ResizeOptions; (injectOptions: import("@angular/core").InjectOptions & { optional?: false; } & { injector?: import("@angular/core").Injector; }): ResizeOptions; (injectOptions: import("@angular/core").InjectOptions & { injector?: import("@angular/core").Injector; }): ResizeOptions | null; }, provideResizeOptions: (() => import("@angular/core").Provider) & ((value: ResizeOptions | (() => ResizeOptions)) => import("@angular/core").Provider), NGX_RESIZE_OPTIONS: import("@angular/core").InjectionToken; export type ResizeResult = { readonly entries: ReadonlyArray; readonly x: number; readonly y: number; readonly width: number; readonly height: number; readonly top: number; readonly right: number; readonly bottom: number; readonly left: number; readonly dpr: number; }; /** * `injectResize` returns an `Observable` that observes the `resize` event on the Host element * of the component. `options` passed in is merged with default options * * @see {@link defaultResizeOptions} * * @param {Partial} [options={}] * @see {@link ResizeOptions} * * @returns {Observable} * @see {@link ResizeResult} */ export declare function injectResize(options?: Partial): Observable; /** * A directive to be used on any element instead of the Host element. For Host element, there are 3 approaches: * - use {@link injectResize} * - use `hostDirectives` with `HostListener` on `ngxResize` * * @param {Partial} - partial options to control `Resize` behavior. merged with default options * @see {@link defaultResizeOptions} * * @returns {ResizeResult} - as an Output `(ngxResize)` */ export declare class NgxResize implements OnInit { private host; private zone; private document; private resizeOptions; private destroyRef; private platformId; ngxResizeOptions: Partial; readonly ngxResize: import("@angular/core").OutputEmitterRef; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }