import { nothing } from 'lit';
/**
* A field's `prefix-text` / `suffix-text` (text input, number input): the widths of `.prefix` /
* `.suffix` as `--prefix-width` / `--suffix-width` on the input, followed as they change (a font
* loading late, a new text), so the value never runs under them.
*/
export declare class AffixSizes {
private observer?;
/** Call after an update that may have added, changed or removed an affix. */
follow(root: ParentNode, input: HTMLElement): void;
disconnect(): void;
}
/** The prefix or suffix span (part `prefix` / `suffix`, id `-` for aria-describedby); nothing when empty. */
export declare const renderAffix: (inputId: string, kind: "prefix" | "suffix", text: string) => typeof nothing | import("lit-html").TemplateResult<1>;
/** aria-describedby: the prefix, the suffix, then the message line. */
export declare function affixDescribedBy(inputId: string, prefixText: string, suffixText: string, messageId: string | undefined): string | typeof nothing;