import { DuetMargin, DuetTheme } from "../../common-types"; import { ThemeableComponent } from "../../common/themeable-component"; export type DuetCaptionSize = "small" | "medium"; /** * @slot default - Slot for text. * @slot author - Slot for author information. If provided, a dash will be prepended. Only span should be used in this slot. */ export declare class DuetCallout implements ThemeableComponent { element: HTMLElement; private hasAuthorSlot; /** * Theme of the caption. */ theme: DuetTheme; /** * Controls the margin of the component. */ margin: DuetMargin; /** * Component lifecycle events. */ componentWillLoad(): void; /** * render() function * Always the last one in the class. */ render(): any; }