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