import type { ChatCommand } from './ChatCommand';
/**
 * The command handler.
 */
export declare class CommandHandler {
    /**
     * The directory of the commands.
     */
    readonly dir: string;
    /**
     * Creates a new instance of the command handler.
     * @param dir The directory of the commands.
     */
    constructor(dir: string);
    /**
     * Load the commands.
     * @returns The loaded commands.
     */
    load(): Promise<(typeof ChatCommand)[]>;
}
