import type { BinaryExpression, BinaryOperator, Comment, SourceLocation } from 'estree';
import type { StepperExpression, StepperPattern } from '..';
import type { StepperBaseNode } from '../../interface';
export declare class StepperBinaryExpression implements BinaryExpression, StepperBaseNode {
    type: 'BinaryExpression';
    operator: BinaryOperator;
    left: StepperExpression;
    right: StepperExpression;
    leadingComments?: Comment[];
    trailingComments?: Comment[];
    loc?: SourceLocation | null;
    range?: [number, number];
    constructor(operator: BinaryOperator, left: StepperExpression, right: StepperExpression, leadingComments?: Comment[], trailingComments?: Comment[], loc?: SourceLocation | null, range?: [number, number]);
    static create(node: BinaryExpression): StepperBinaryExpression;
    isContractible(): boolean;
    isOneStepPossible(): boolean;
    contract(): StepperExpression;
    oneStep(): StepperExpression;
    substitute(id: StepperPattern, value: StepperExpression): StepperExpression;
    freeNames(): string[];
    allNames(): string[];
    rename(before: string, after: string): StepperExpression;
}
