/** A number written for an attribute: two decimals at most, no trailing zeros, never "-0". */ export declare function num(value: number): string; /** Text made safe to write between tags and inside a double-quoted attribute. */ export declare function esc(text: string): string; /** An attribute value: a number, text, or nothing at all (the attribute is left out). */ export type Attr = string | number | boolean | undefined | null; /** One element as text. Attributes with no value are left out; text is escaped, numbers are rounded. */ export declare function el(name: string, attrs: Record, inner?: string): string; /** A small, stable hash of text (FNV-1a), written in base 36, for ids that follow from the options. */ export declare function hash(text: string): string;