import { ElementRef, type Signal } from '@angular/core';
/**
 * Resize event used by resizeSignal.
 *
 * Maintains the same pattern as https://github.com/NemesLaszlo/angular-resize-event
 */
export interface ResizedEvent {
    readonly newRect: DOMRectReadOnly;
    readonly oldRect?: DOMRectReadOnly;
    readonly isFirst: boolean;
}
/**
 * Creates a new Signal that emits resize events.
 *
 * Must be created in an injectable context.
 *
 * @param inputElement The element to observe for resize events. If not provided, the host element will be injected.
 */
export declare function resizeSignal(inputElement?: ElementRef<HTMLElement>): Signal<ResizedEvent>;
