import { MessageComponent } from './MessageComponent'; export declare class TextInput extends MessageComponent { label: string; placeholder: string; required: boolean; title: string; constructor(); setLabel(label: string): this; setPlaceholder(placeholder: string): this; setRequired(required?: boolean): this; setTitle(title: string): this; toJSON(): { title: string; custom_id: string; components: { type: number; components: { type: number; custom_id: string; label: string; style: number; min_length: number; max_length: number; placeholder: string; required: boolean; }[]; }[]; }; }