import { z, ZodObject, ZodOptional } from 'zod'; import { ObjectLiteral } from '../../../../types'; import { ZodId, ZodType, ZodAttributes, ZodRelationships } from '../zod-share'; import { EntityProps, FieldWithType, PropsForField, RelationPrimaryColumnType, RelationPropsArray, RelationPropsTypeName, TypeForId } from '../../types'; type ZodInputPostShape = { id: ZodOptional; type: ZodType; attributes: ZodAttributes; relationships: ZodOptional>; }; type ZodInputPostSchema = ZodObject, 'strict'>; type ZodInputPostDataShape = { data: ZodInputPostSchema; }; export declare function zodPost(typeId: TypeForId, typeName: N, fieldWithType: FieldWithType, propsDb: PropsForField, primaryColumn: EntityProps, relationArrayProps: RelationPropsArray, relationPopsName: RelationPropsTypeName, primaryColumnType: RelationPrimaryColumnType): ZodPost; export type ZodPost = ZodObject, 'strict'>; export type Post = z.infer>; export type PostData = Post['data']; export {};