import type { Readable } from '@vielzeug/ripple'; export type AutoResizeOptions = { /** Gates growth; omit for an always-on composer field, or pass a signal for a toggleable `auto-resize` attribute. */ enabled?: Readable; }; export type AutoResizeControl = { /** Recomputes height from the wired element's current content. No-ops when `enabled` is false or nothing is wired. */ recompute: () => void; /** Wire onto the raw `