/** * Metadata-driven Prisma Store implementation for durable Manifest entities. * * One class serves every entity whose Prisma model matches the metadata contract: * standard scalar columns, optional soft-delete, single or composite PK. */ import type { EntityInstance, Store } from '../../runtime-engine.js'; import type { PrismaModelMetadata } from './types.js'; export declare class GenericPrismaStore implements Store { private readonly tenantId; private readonly meta; private readonly delegate; constructor(prisma: unknown, entityName: string, tenantId: string, metadata: PrismaModelMetadata); private tenantField; /** * The soft-delete field, resolved by IR name (`deletedAt` is a stable * framework convention) so the physical column can be remapped freely. * Used by both tenantFilter() and delete() so the resolved column name is * applied consistently — never hardcoded. */ private deletedAtField; private coerce; private buildCreateData; private buildPatch; private whereUnique; private tenantFilter; private mapToManifestEntity; getAll(): Promise; getById(id: string): Promise; create(data: Partial): Promise; update(id: string, data: Partial): Promise; delete(id: string): Promise; clear(): Promise; } //# sourceMappingURL=store.d.ts.map