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