import { AfterViewInit, ElementRef, NgZone, OnDestroy, Renderer2 } from '@angular/core';
import * as i0 from "@angular/core";
export declare class MuuriDirective implements AfterViewInit, OnDestroy {
    private readonly elementRef;
    private readonly renderer;
    private readonly ngZone;
    readonly columnMinWidth = 250;
    private readonly _muuriSubject$;
    private readonly _containerWidthSubject$;
    private readonly _mutationTrigger$;
    private _containerResizeObserver?;
    private _itemResizeObserver?;
    private _mutationObserver?;
    private _layoutDebounceTimer;
    private readonly _subscriptions;
    private get _muuri$();
    private get _muuri();
    private get _containerWidth$();
    constructor(elementRef: ElementRef<HTMLElement>, renderer: Renderer2, ngZone: NgZone);
    ngAfterViewInit(): void;
    ngOnDestroy(): void;
    private initMuuri;
    /**
     * Create a ResizeObserver that watches each direct child (Muuri item) for
     * size changes. This catches image loads, async content rendering, font
     * loading, and any other change that alters an item's height without
     * triggering a DOM mutation.
     */
    private initItemResizeObserver;
    /**
     * Start observing all current direct children that are not yet observed.
     * Called on init and whenever the MutationObserver detects new children.
     */
    private observeCurrentItems;
    /**
     * Debounced refresh + layout to batch rapid item size changes (e.g. multiple
     * images loading in quick succession) into a single Muuri re-layout.
     */
    private debouncedLayout;
    private observeContainerWidthChanges;
    private observeMutations;
    private openContainerChangeSubscription;
    private setContainerStyles;
    static ɵfac: i0.ɵɵFactoryDeclaration<MuuriDirective, never>;
    static ɵdir: i0.ɵɵDirectiveDeclaration<MuuriDirective, "[muuri]", never, { "columnMinWidth": { "alias": "columnMinWidth"; "required": false; }; }, {}, never, never, true, never>;
}
//# sourceMappingURL=muuri.directive.d.ts.map