import type { Channel, Message, PartialMember, Role } from "guilded.js"; import { Command } from "../structures/Command"; export type Result = ({ error: false; } & T) | { error: true; reason_code: string; extra_info?: unknown; }; export type CommandArgument = string | number | boolean | PartialMember | Message | Channel | Role | null; export type CommandArgumentType = "string" | "number" | "boolean" | "member" | "channel" | "role"; export type CommandArgumentValidator = { validate: (ctx: { input: string; rawArgs: string[]; argument: CommandArgument; message: Message; argIndex: number; mentionCounters: { users: number; roles: number; channels: number; }; }) => Result<{ argument: CommandArgument; }> | Promise>; }; export declare function convertArguments(params: { args: string[]; command: Command; message: Message; }): Promise; }>>; //# sourceMappingURL=ArgumentParser.d.ts.map