import type { MetaObject } from "@metaobjectsdev/metadata"; import { type GeneratorFactory } from "../generator.js"; export interface EntityFileOpts { filter?: (entity: MetaObject) => boolean; target?: string; /** * Whether generated entity files include the Fastify-flavored * `FilterAllowlist` + `SortAllowlist` blocks (and the * `@metaobjectsdev/runtime-ts/drizzle-fastify` type-only imports they * require). Default `true` for back-compat. * * Set to `false` for Worker/Lambda-style consumers that don't mount * Fastify-style server routes — the generated entity file then has no * `runtime-ts/drizzle-fastify` imports at all and `@metaobjectsdev/runtime-ts` * can be omitted from the consumer's dependency tree. * * The client-side `Filter` type is always emitted — it's a pure * client-side type with no runtime-ts dependency. */ allowlists?: boolean; } export declare const entityFile: GeneratorFactory; //# sourceMappingURL=entity-file.d.ts.map