import { ReactiveController, ReactiveControllerHost } from 'lit';

interface AutoGrowHost extends ReactiveControllerHost {
    autoGrow: boolean;
    autoGrowMirror?: HTMLSpanElement;
    input: HTMLInputElement;
    placeholder: string;
    type: string;
    value: string;
}
/**
 * Reactive controller that keeps `cx-input` width in sync with its content when auto-grow is enabled.
 */
export declare class AutoGrowController implements ReactiveController {
    private readonly host;
    constructor(host: AutoGrowHost);
    hostConnected(): void;
    hostDisconnected(): void;
    hostUpdated(): void;
    sync(): void;
    private measureWidth;
}
export {};
