import type { SegmentedStatementNode } from "./nodes.js";
/**
 * Parses SQL text into one or more segmented statements, falling back to raw
 * fragments when the grammar cannot represent portions of the input.
 *
 * @example
 * ```ts
 * const [statement] = parse("SELECT 1");
 * ```
 */
export declare function parse(sql: string): readonly SegmentedStatementNode[];
export { parseCst } from "./cst.js";
export declare function normalizeSegmentedStatement(statement: SegmentedStatementNode): SegmentedStatementNode;
export declare function normalizeSegmentedStatements(statements: readonly SegmentedStatementNode[]): SegmentedStatementNode[];
//# sourceMappingURL=parse.d.ts.map