export interface ParsedStatement { sql: string; lineNumber: number; originalText: string; } export interface ParseOptions { removeComments?: boolean; skipEmptyStatements?: boolean; } export declare class SqlScriptParser { /** * Parse a SQL script into individual executable statements */ static parseScript(script: string, options?: ParseOptions): ParsedStatement[]; /** * Check if a statement contains actual SQL (not just comments/whitespace) */ private static isNonEmptyStatement; /** * Validate that a SQL script has balanced quotes and comments */ static validateScript(script: string): { valid: boolean; errors: string[]; }; /** * Extract just the SQL statements as strings (convenience method) */ static extractStatements(script: string, options?: ParseOptions): string[]; /** * Count the number of statements in a script */ static countStatements(script: string, options?: ParseOptions): number; } //# sourceMappingURL=sql-script-parser.d.ts.map