export declare type Options = { mode?: 'oneline' | 'multiline' | 'box' | 'boxoneline' | undefined; minFontSizePx?: number | undefined; maxFontSizePx?: number | undefined; fontSizePrecisionPx?: number | undefined; scrollToEnd?: boolean | undefined; }; export declare function updateTextSize({ innerEl, containerEl, mode, minFontSizePx, maxFontSizePx, fontSizePrecisionPx, scrollToEnd, }: Options & { innerEl: HTMLElement; containerEl: HTMLElement; }): void; declare type DisconnectableFunction = { (): void; disconnect: () => void; }; export declare function autoTextSize({ innerEl, containerEl, mode, minFontSizePx, maxFontSizePx, fontSizePrecisionPx, scrollToEnd, }: Options & { innerEl: HTMLElement; containerEl: HTMLElement; }): DisconnectableFunction; export {};