import { z, ZodObject, ZodOptional } from 'zod'; import { ZodAttributes, ZodId, ZodRelationships, ZodType } from '../zod-share'; import { ObjectLiteral } from '../../../../types'; import { EntityProps, FieldWithType, PropsForField, RelationPrimaryColumnType, RelationPropsArray, RelationPropsTypeName, TypeForId } from '../../types'; import { ZodPost } from '../zod-input-post-schema'; type ZodPatchPatchShape = { id: ZodId; type: ZodType; attributes: ZodOptional>; relationships: ZodOptional>; }; type ZodInputPatchSchema = ZodObject, 'strict'>; type ZodInputPatchDataShape = { data: ZodInputPatchSchema; }; export declare function zodPatch(typeId: TypeForId, typeName: N, fieldWithType: FieldWithType, propsDb: PropsForField, primaryColumn: EntityProps, relationArrayProps: RelationPropsArray, relationPopsName: RelationPropsTypeName, primaryColumnType: RelationPrimaryColumnType): ZodPatch; export type ZodPatch = ZodObject, 'strict'>; export type PatchData = z.infer>['data']; export {};