import type { APIRole as APITypesAPIRole, APIAttachment as APITypesAPIAttachment, APIInteractionDataResolvedChannel as APITypesAPIInteractionDataResolvedChannel, APIUser as APITypesAPIUser, APIInteractionDataResolvedGuildMember as APITypesAPIInteractionDataResolvedGuildMember, APIMessageComponentSelectMenuInteraction as APITypesAPIMessageComponentSelectMenuInteraction, APIMessageComponentButtonInteraction as APITypesAPIMessageComponentButtonInteraction, APIModalSubmitInteraction as APITypesAPIModalSubmitInteraction, APIApplicationCommandInteractionDataOption as APITypesAPIApplicationCommandInteractionDataOption, APIInteractionDataResolved as APITypesAPIInteractionDataResolved } from "discord-api-types/v10"; import type { ButtonInteraction, AnySelectMenuInteraction, ModalSubmitInteraction, CommandInteractionOption, CacheType } from "discord.js"; import type { ArgumentsOf, CommandPayload, ComponentPayload, Runtime } from "./types/ArgumentsOf.js"; export type Option = { attachment?: APITypesAPIAttachment; channel?: APITypesAPIInteractionDataResolvedChannel; member?: APITypesAPIInteractionDataResolvedGuildMember; name: string; role?: APITypesAPIRole; type: number; user?: APITypesAPIUser; value?: boolean | number | string; }; export type TransformResult = Option & { options?: Option[]; }; export declare function transformCommandOption(option: APITypesAPIApplicationCommandInteractionDataOption, resolved: APITypesAPIInteractionDataResolved): TransformResult; export declare function transformApplicationInteraction(options: readonly CommandInteractionOption[]): ArgumentsOf; export declare function transformApplicationInteractionRaw(options: readonly TransformResult[]): ArgumentsOf; export declare function transformComponentInteraction(interaction: AnySelectMenuInteraction | ButtonInteraction | ModalSubmitInteraction): ArgumentsOf; export declare function transformComponentInteractionRaw(interaction: APITypesAPIMessageComponentButtonInteraction | APITypesAPIMessageComponentSelectMenuInteraction | APITypesAPIModalSubmitInteraction): ArgumentsOf; //# sourceMappingURL=Interaction.d.ts.map