/**
 * Label - Form label component
 * @countermeasure/web-components/primitives/label
 */
export interface LabelConfig {
    container?: HTMLElement | string;
    text: string;
    htmlFor?: string;
    required?: boolean;
    className?: string;
}
export declare class Label {
    readonly el: HTMLLabelElement;
    private textNode;
    private requiredEl;
    constructor(config: LabelConfig);
    /** Update the label text */
    setText(text: string): void;
    /** Toggle the required indicator */
    setRequired(required: boolean): void;
    /** Update the htmlFor attribute */
    setFor(id: string): void;
    /** Remove from the DOM */
    destroy(): void;
    private appendRequiredIndicator;
}
//# sourceMappingURL=index.d.ts.map