import type { Instance } from "../../ui/Instance"; import type { CxChild, RenderingContext } from "../../ui/RenderingContext"; import { Widget } from "../../ui/Widget"; import { FieldGroup, FieldGroupConfig } from "./FieldGroup"; import { Label, LabelConfig } from "./Label"; import { StringProp, BooleanProp, ModProp } from "../../ui/Prop"; import { Create } from "../../util/Component"; export interface LabeledContainerConfig extends FieldGroupConfig { /** The label. */ label?: StringProp | Create | LabelConfig; /** Set to true to disable the field. */ disabled?: BooleanProp; /** CSS modifier classes. */ mod?: ModProp; /** Set to true to display an asterisk next to the label. */ asterisk?: BooleanProp; } export declare class LabeledContainer extends FieldGroup { label?: string | Record | Label | Widget; disabled?: boolean; mod?: Record; asterisk?: boolean; declareData(...args: Record[]): void; init(): void; initComponents(context: RenderingContext, instance: Instance, ...args: Record[]): void; renderLabel(context: RenderingContext, instance: Instance, key?: string): CxChild; render(context: RenderingContext, instance: Instance, key: string): { label: CxChild; content: CxChild; }; } //# sourceMappingURL=LabeledContainer.d.ts.map