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 AppendCommandInput {
    content: unknown;
    target?: string | HTMLElement | unknown[];
}
export interface AppendCommandOutput {
    result: unknown;
    targetType: 'result' | 'variable' | 'array' | 'element' | 'string';
    target?: string | HTMLElement;
}
export declare class AppendCommand implements DecoratedCommand {
    readonly name: string;
    readonly metadata: CommandMetadata;
    parseInput(raw: {
        args: ASTNode[];
        modifiers: Record<string, ExpressionNode>;
    }, evaluator: ExpressionEvaluator, context: ExecutionContext): Promise<AppendCommandInput>;
    execute(input: AppendCommandInput, context: TypedExecutionContext): Promise<AppendCommandOutput>;
    private resolveDOMElement;
    private resolveContextRef;
}
export declare const createAppendCommand: () => AppendCommand;
export default AppendCommand;
//# sourceMappingURL=append.d.ts.map