import type { BlockStatement, SourceLocation } from 'estree';
import { type StepperExpression, type StepperPattern, undefinedNode } from '..';
import type { StepperBaseNode } from '../../interface';
import type { StepperStatement } from '../Statement';
export declare class StepperBlockExpression implements 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): StepperBlockExpression;
    isContractible(): boolean;
    isOneStepPossible(): boolean;
    contract(): StepperExpression | typeof undefinedNode;
    oneStep(): StepperBlockExpression | typeof undefinedNode | StepperExpression;
    substitute(id: StepperPattern, value: StepperExpression): StepperBlockExpression;
    scanAllDeclarationNames(): string[];
    freeNames(): string[];
    allNames(): string[];
    rename(before: string, after: string): StepperBlockExpression;
}
