import type { ChannelNode } from "@copilotkit/channels-ui"; import { ModalBuilder } from "discord.js"; /** * Lower a modal IR tree to a discord.js {@link ModalBuilder}. * * Discord modals support **text inputs only** (up to 5). Any other modal * element (`modal_select`, `modal_radio`) or more than five text inputs throws * a {@link ModalRenderError}, which `adapter.openModal` translates to * `{ ok: false, error }` (degrade-never-throw at the boundary). */ export declare function renderDiscordModal(ir: ChannelNode[]): ModalBuilder; //# sourceMappingURL=modal.d.ts.map