import { Option } from "./selectConfig"; export interface IConfig { name: string; key: string; label?: string; placeholder?: string; default?: any; required?: boolean; tips?: string; value: any; render(): string; html(): string; } export interface IConfigItem { name: string; label?: string; placeholder?: string; default?: any; required?: boolean; options?: Option[]; tips?: string; only_current_machine?: boolean; type: "input" | "select" | "textarea"; } export declare abstract class Config implements IConfig { name: string; label?: string; placeholder?: string; default?: any; required?: boolean; tips?: string; only_current_machine?: boolean; get key(): string; get value(): any; abstract render(): string; html(): string; constructor(item: IConfigItem); }