import { Sym } from './sym.js'; import type { SExpr } from './types.js'; export declare class SNode { private _raw; constructor(raw: SExpr[]); static from(raw: SExpr[]): SNode; get raw(): SExpr[]; get length(): number; get name(): string; is(name: string): boolean; child(name: string): SNode | null; children(name?: string): SNode[]; hasChild(name: string): boolean; findAll(name: string): SNode[]; private _findAll; rawAt(index: number): SExpr; getNumber(index: number, fallback?: number): number; getString(index: number): string | null; getBool(index: number): boolean | null; get stringValue(): string | null; get joinedStringValue(): string; set(index: number, value: SExpr): void; push(...children: SExpr[]): void; removeChild(name: string): boolean; replaceChild(name: string, replacement: SExpr[]): boolean; toArray(): SExpr[]; } export declare function isList(expr: SExpr): expr is SExpr[]; export declare function isSym(expr: SExpr): expr is Sym; export declare function isString(expr: SExpr): expr is string; export declare function isNumber(expr: SExpr): expr is number; export declare function nameOf(expr: SExpr): string; //# sourceMappingURL=query.d.ts.map