import type { ASTNode } from '../../types/base-types';
export declare class BinaryAST {
    private buffer;
    constructor(ast: ASTNode);
    getNodeType(): string;
    getName(): string | null;
    isBlocking(): boolean;
    getLine(): number | null;
    getColumn(): number | null;
    getRaw(): string | null;
    get(path: string[]): unknown;
    getString(path: string[]): string | null;
    getNumber(path: string[]): number | null;
    getBoolean(path: string[]): boolean | null;
    has(path: string[]): boolean;
    getType(path: string[]): string | null;
    toAST(): ASTNode;
    getBuffer(): ArrayBuffer;
    getByteLength(): number;
    static fromBuffer(buffer: ArrayBuffer): BinaryAST;
    clone(): BinaryAST;
}
export declare function isCommandNode(buffer: ArrayBuffer): boolean;
export declare function isExpressionNode(buffer: ArrayBuffer): boolean;
export declare function getCommandName(buffer: ArrayBuffer): string | null;
//# sourceMappingURL=ast-serializer.d.ts.map