import type { APIActionRowComponent, APIModalActionRowComponent, APIModalInteractionResponseCallbackData } from "discord-api-types/v10"; import type { ActionRowBuilder, ModalActionRowComponentBuilders } from "../components/ActionRowBuilder.js"; export declare class ModalBuilder { data: Partial; constructor(id: APIModalInteractionResponseCallbackData | string, title?: string); setCustomId(id: string): this; setTitle(title: string): this; addComponents(...components: ActionRowBuilder[]): this; setComponents(components?: APIActionRowComponent[]): this; toJSON(): APIModalInteractionResponseCallbackData; }