import type { MetaObject } from "@metaobjectsdev/metadata"; /** * True when the entity declares at least one writable source.rdb child. * Discriminates table-backed entities (full Drizzle file: table + Insert/Update * schemas + filter allowlists + constants) from value-only objects (TS * interface + Zod schema only). Absence of source.rdb means in-memory / * transit data — no migration, no ORM table to point at. */ export declare function hasWritableRdbSource(entity: MetaObject): boolean; /** * True when the object declares (or inherits via extends — ADR-0039 resolving) * at least one source.rdb child of ANY kind (writable OR read-only). Zero * sources means "not backed by any store" (loader contract, * validate-source-roles: zero sources is allowed, means not persisted) — the * DB-artifact tier (queries/routes/api-model) must emit nothing for it, exactly * as the table tier already refuses to emit a Drizzle table for it * (hasWritableRdbSource, above — this is its any-kind sibling). */ export declare function hasAnyRdbSource(entity: MetaObject): boolean; //# sourceMappingURL=source-detect.d.ts.map