import { DuetMargin, DuetTheme } from "../../common-types"; import { ThemeableComponent } from "../../common/themeable-component"; export type DuetCaptionSize = "small" | "medium"; export declare class DuetCaption implements ThemeableComponent { element: HTMLElement; /** * Theme of the caption. */ theme: DuetTheme; /** * Controls the margin of the component. */ margin: DuetMargin; /** * Selected state of the caption. Used inside Choice component. */ selected: boolean; /** * Controls the size of the caption. */ size: DuetCaptionSize; /** * Component lifecycle events. */ componentWillLoad(): void; /** * render() function * Always the last one in the class. */ render(): any; }