/** * Would `loadCollectionsFromDirectory` load this file? * * Mirrors that loader's own `isCollectionFile` plus its flat (non-recursive) * scan. `relativePath` is relative to the collections directory, as `fs.watch` * reports it. */ export declare function isLoadedCollectionFile(relativePath: string): boolean; /** * Does this collection source declare anything a SQL toolchain would own? * * The fallback order matches `resolveDataSource`: an explicit `engine` wins, * and a collection that only names a `dataSource` is resolved as if the key * were the engine — which is what that function does when no registry is * available, and the CLI has none. An engine nobody recognises counts as * relational, for the reason `isRelationalCollection` gives. * * A file declaring several collections is SQL-affecting if *any* of them is. */ export declare function declaresRelationalCollection(rawSource: string): boolean; /** * Can this edit have changed the generated SQL schema? * * Answers `true` when it cannot tell — an unreadable file is a reason to warn, * not a reason to go quiet. */ export declare function affectsSqlSchema(collectionsDir: string, relativePath: string): boolean;