export type ManagedViewDeclaration = { name: string; type: 'materialized view' | 'view'; }; /** * Extracts typed declarations from CREATE [OR REPLACE] VIEW and CREATE MATERIALIZED VIEW * statements in the given SQL string. Comments and string literals are ignored by the parser. * * Requires initSqlAst() to have resolved before the first call. */ export declare function extractViewDeclarations(sql: string): ManagedViewDeclaration[];