import { MetaField } from "@metaobjectsdev/metadata"; /** * Resolve the cell-renderer key (view kind) for a field. * Explicit view child wins; field subType determines default. */ export declare function inferViewKind(field: MetaField): string; /** * Resolve the Zod validator expression for a field's storage type. * * `timestampMode` (default "string") mirrors zod-validators.ts's zodFieldExpr: * a "date"-mode FIELD_SUBTYPE_TIMESTAMP column (view/projection read schemas — * see view-decl.ts's renderViewReadZodObject, which sources its column TYPE from * `mapColumnType(..., timestampMode)`) must agree with the Zod line built here or * `z.infer<>` disagrees with the Drizzle column and callers fail to typecheck. * FIELD_SUBTYPE_DATE / FIELD_SUBTYPE_TIME are NOT governed by timestampMode — * calendar date / time-of-day stay ISO-string-shaped always (verified correct; * see zodFieldExpr's identical DATE/TIME case). */ export declare function zodTypeFor(field: MetaField, timestampMode?: "date" | "string"): string; /** * Resolve currency code + locale for a currency-subtype field. * Returns null for non-currency fields. */ export declare function currencyMetaFor(field: MetaField): { currency: string; locale: string; } | null; /** * Resolve the human-readable label for a field. * Uses @label attr on a view child if present; otherwise humanizes the field name. */ export declare function labelFor(field: MetaField): string; //# sourceMappingURL=field-meta.d.ts.map