import { ICompileError } from "../errors/IError.js"; import { result } from "../utility/result.js"; import { SExprPrintOptions } from "../utility/sExpr.js"; import { AST, ASTNode, LocationRange } from "./types.js"; export type ParseError = { type: "SyntaxError"; location: LocationRange; message: string; }; export type ASTResult = result; export declare function parse(expr: string, sourceId: string): ASTResult; export declare function astNodeToString(node: ASTNode, printOptions?: SExprPrintOptions): string; export declare function astResultToString(r: result, options?: SExprPrintOptions): string; //# sourceMappingURL=parse.d.ts.map