import { Message, PermissionString } from 'discord.js'; import { CommandContext } from '../'; /** * A function to use when a user, or the client hasn't all the permissions needed. * * @param ctx - The command context where the permission where missing. * @param missingPermissions - The error. * @param fromClient - If the error is from the client. * @returns - The error message sent. */ export declare function permissionsError(ctx: CommandContext, missingPermissions: PermissionString[], fromClient?: boolean): Promise; /** * Check if some permission is a valid permission that exists. * * @param permission - The permission to test. * @returns - Is the permission is a valid permission. */ export declare function isPermission(permission: string): permission is PermissionString;