import type { MetaObject } from "@metaobjectsdev/metadata"; /** * True when the object is served by a generated READ endpoint — so a hook has * something to fetch and a grid has something to render. * * Abstract types are excluded (no instance to address). Today the endpoint test is * "declares or inherits a `source.rdb`", which is precisely the predicate * `routesFile` / `routesFileHono` gate on, so hooks exist exactly where routes do. */ export declare function servesReadApi(entity: MetaObject): boolean; /** * True when the object is served by generated WRITE endpoints — so a form has * somewhere to submit. Requires a WRITABLE source: the same predicate the entity-file * generator uses to decide whether `Insert`/`Update` schemas exist at all, so a form * can never be emitted against schemas that were never generated. */ export declare function servesWriteApi(entity: MetaObject): boolean; //# sourceMappingURL=api-surface.d.ts.map