import type { ButtonComponent as ButtonComponentOriginal, ColorComponent as ColorComponentOriginal, DisplayValueComponent as DisplayValueComponentOriginal, DropdownComponent as DropdownComponentOriginal, ExtraButtonComponent as ExtraButtonComponentOriginal, MomentFormatComponent as MomentFormatComponentOriginal, ProgressBarComponent as ProgressBarComponentOriginal, SearchComponent as SearchComponentOriginal, Setting as SettingOriginal, SliderComponent as SliderComponentOriginal, TextAreaComponent as TextAreaComponentOriginal, TextComponent as TextComponentOriginal, ToggleComponent as ToggleComponentOriginal, TooltipOptions as TooltipOptionsOriginal } from 'obsidian'; import type { BaseComponent } from './BaseComponent.cjs'; export declare class Setting { components: BaseComponent[]; controlEl: HTMLElement; descEl: HTMLElement; errorEl: HTMLElement | null; infoEl: HTMLElement; nameEl: HTMLElement; settingEl: HTMLElement; constructor(containerEl: HTMLElement); static create__(containerEl: HTMLElement): Setting; static fromOriginalType__(value: SettingOriginal): Setting; addButton(callback: (component: ButtonComponentOriginal) => unknown): this; addColorPicker(callback: (component: ColorComponentOriginal) => unknown): this; addComponent(callback: (el: HTMLElement) => BaseComponent): this; addDisplayValue(callback: (component: DisplayValueComponentOriginal) => unknown): this; addDropdown(callback: (component: DropdownComponentOriginal) => unknown): this; addExtraButton(callback: (component: ExtraButtonComponentOriginal) => unknown): this; addMomentFormat(callback: (component: MomentFormatComponentOriginal) => unknown): this; addProgressBar(callback: (component: ProgressBarComponentOriginal) => unknown): this; addSearch(callback: (component: SearchComponentOriginal) => unknown): this; addSlider(callback: (component: SliderComponentOriginal) => unknown): this; addText(callback: (component: TextComponentOriginal) => unknown): this; addTextArea(callback: (component: TextAreaComponentOriginal) => unknown): this; addToggle(callback: (component: ToggleComponentOriginal) => unknown): this; asOriginalType__(): SettingOriginal; clear(): this; constructor__(_containerEl: HTMLElement): void; setClass(cls: string): this; setDesc(desc: DocumentFragment | string): this; setDisabled(disabled: boolean): this; setErrorMessage(message: null | string): this; setHeading(): this; setName(name: DocumentFragment | string): this; setTooltip(tooltip: string, _options?: TooltipOptionsOriginal): this; then(callback: (setting: this) => unknown): this; }