import type { ExecutionContext, TypedExecutionContext } from '../../types/core';
import type { ASTNode, ExpressionNode } from '../../types/base-types';
import type { ExpressionEvaluator } from '../../core/expression-evaluator';
import { type DecoratedCommand, type CommandMetadata } from '../decorators';
export interface ThrowCommandInput {
    message: string | Error | unknown;
}
export interface ThrowCommandOutput {
    error: Error;
}
export declare class ThrowCommand implements DecoratedCommand {
    readonly name: string;
    readonly metadata: CommandMetadata;
    parseInput(raw: {
        args: ASTNode[];
        modifiers: Record<string, ExpressionNode>;
    }, evaluator: ExpressionEvaluator, context: ExecutionContext): Promise<ThrowCommandInput>;
    execute(input: ThrowCommandInput, _context: TypedExecutionContext): Promise<ThrowCommandOutput>;
}
export declare const createThrowCommand: () => ThrowCommand;
export default ThrowCommand;
//# sourceMappingURL=throw.d.ts.map