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 GoCommandInput {
    args: unknown[];
}
export interface GoCommandOutput {
    result: string | HTMLElement;
    type: 'back' | 'url' | 'scroll';
}
export declare class GoCommand implements DecoratedCommand {
    readonly name: string;
    readonly metadata: CommandMetadata;
    parseInput(raw: {
        args: ASTNode[];
        modifiers: Record<string, ExpressionNode>;
    }, evaluator: ExpressionEvaluator, context: ExecutionContext): Promise<GoCommandInput>;
    execute(input: GoCommandInput, context: TypedExecutionContext): Promise<GoCommandOutput>;
    private isUrlNavigation;
    private goBack;
    private navigateToUrl;
    private isValidUrl;
    private scrollToElement;
    private mapVerticalPosition;
    private mapHorizontalPosition;
    private parseScrollPosition;
    private parseScrollTarget;
    private parseScrollOffset;
    private resolveScrollTarget;
    private calculateScrollPosition;
}
export declare const createGoCommand: () => GoCommand;
export default GoCommand;
//# sourceMappingURL=go.d.ts.map