import type { MetaRoot } from "@metaobjectsdev/metadata"; export interface PkInfo { /** Field name within the entity (e.g., "id"). */ fieldName: string; /** Field subType (e.g., "long", "string", "int"). */ fieldSubType: string; /** Generation strategy: 'increment' | 'uuid' | 'assigned' (or undefined). */ generation?: string; } /** * Walk the loaded metadata root, find each object's primary identity, * resolve the referenced field's subType, and build a name → PkInfo map. * * Used by FK column emission: when Post.authorId references User, codegen * looks up User's PK info to choose the matching FK column type. */ export declare function buildPkMap(root: MetaRoot): Map; //# sourceMappingURL=pk-resolver.d.ts.map