import { CommandContext } from '../'; /** * A function to use when a code error occurs in a command for example. * * @remarks * If the message author is an owner, it sends the error stack.
Do not use for sending string as errors. * @param ctx - The command context where the error come from. * @param error - The native error. * @returns - The error message sent. */ export declare function codeError(ctx: CommandContext, error: Error): Promise;