import type { BlockStatement, Comment, SourceLocation } from 'estree';
import { type StepperExpression, type StepperPattern, undefinedNode } from '..';
import type { StepperBaseNode } from '../../interface';
import { StepperStatement } from '.';
export declare class StepperBlockStatement implements BlockStatement, StepperBaseNode {
    type: 'BlockStatement';
    body: StepperStatement[];
    innerComments?: Comment[] | undefined;
    leadingComments?: Comment[] | undefined;
    trailingComments?: Comment[] | undefined;
    loc?: SourceLocation | null | undefined;
    range?: [number, number] | undefined;
    constructor(body: StepperStatement[], innerComments?: Comment[] | undefined, leadingComments?: Comment[] | undefined, trailingComments?: Comment[] | undefined, loc?: SourceLocation | null | undefined, range?: [number, number] | undefined);
    static create(node: BlockStatement): StepperBlockStatement;
    isContractible(): boolean;
    isOneStepPossible(): boolean;
    contract(): StepperBlockStatement | StepperStatement | typeof undefinedNode;
    contractEmpty(): void;
    oneStep(): StepperBlockStatement | StepperStatement | typeof undefinedNode;
    substitute(id: StepperPattern, value: StepperExpression, upperBoundName?: string[]): StepperBaseNode;
    scanAllDeclarationNames(): string[];
    freeNames(): string[];
    allNames(): string[];
    rename(before: string, after: string): StepperBlockStatement;
}
