import type { ASTNode } from "./types.js"; export declare class ParseError extends Error { readonly filePath: string; readonly originalError?: Error | undefined; constructor(message: string, filePath: string, originalError?: Error | undefined); } export interface ParseResult { ast: ASTNode; filePath: string; sourceCode: string; } /** * Parse a single Solidity source file into an AST */ export declare function parseSourceFile(filePath: string): ParseResult; /** * Discover all Solidity files in the given directory using glob patterns */ export declare function getAllSolidityFiles(contractsPath: string): Promise; /** * Parse all Solidity files in a directory */ export declare function parseAllSourceFiles(contractsPath: string): Promise; //# sourceMappingURL=parser.d.ts.map