import { DuetColor, DuetMargin, DuetTextFontWeight, DuetTheme } from "../../common-types"; import { ThemeableComponent } from "../../common/themeable-component"; export type DuetLabelSize = "small" | "medium"; export type DuetLabelMargin = DuetMargin | "small"; export declare class DuetLabel implements ThemeableComponent { element: HTMLElement; /** * Theme of the label. */ theme: DuetTheme; /** * ID of the component that the label is labelling. */ for: string; /** * Controls the margin of the component. */ margin: DuetLabelMargin; /** * Controls the size of the label. */ size: DuetLabelSize; /** * Controls the weight of the label. */ weight: DuetTextFontWeight; /** * Custom color to be used for text, as a design token entered in camelCase or kebab-case. * Example: "color-primary". */ color: DuetColor; /** * Component lifecycle events. */ componentWillLoad(): void; /** * render() function * Always the last one in the class. */ render(): any; }