import type { MetaObject } from "@metaobjectsdev/metadata"; import { type GeneratorFactory } from "../generator.js"; export interface RoutesFileOpts { filter?: (entity: MetaObject) => boolean; target?: string; } /** * Per-entity opt-out via `@emitRoutes: false` is honored. If the user supplies * their own filter, both must pass (AND). * * #248 R2: an object with no declared/inherited source.rdb (of ANY kind) isn't * backed by any store — routes against it would import Drizzle table/allowlist * exports the entity-file generator never emits. Gated by `hasAnyRdbSource`. * * FR-017 Tier 2: TPH subtypes get no standalone routes file — their per-subtype * route set lives in the discriminator base's routes file. */ export declare const routesFile: GeneratorFactory; //# sourceMappingURL=routes-file.d.ts.map