export type Announcer = (message: string) => void; export type LabelTarget = HTMLElement; type SetLabelOptions = { container?: HTMLElement; }; export declare function setA11yLabel(el: LabelTarget, labelText: string, opts?: SetLabelOptions): void; /** * Returns the shared announcer for `wrapper`, creating it on first call. * Multiple controls attached to the same wrapper share the same 2 live-region * nodes. Each caller receives its own `destroy` handle; the DOM nodes are only * removed once every caller has destroyed its handle (ref-counting). */ export declare function getSharedAnnouncer(wrapper: HTMLElement): { announce: Announcer; destroy: () => void; }; export declare function createAnnouncer(wrapper: HTMLElement): { announce: Announcer; destroy: () => void; }; export {}; //# sourceMappingURL=a11y.d.ts.map