import { type TSchema } from '../../types/schema.mjs'; import { type TOptional } from '../../types/_optional.mjs'; import { type TReadonly } from '../../types/_readonly.mjs'; import { type TAddOptionalAction } from '../optional/instantiate_add.mjs'; import { type TAddReadonlyAction } from '../readonly/instantiate_add.mjs'; import { type TRemoveOptionalAction } from '../optional/instantiate_remove.mjs'; import { type TRemoveReadonlyAction } from '../readonly/instantiate_remove.mjs'; import { type TEvaluateIntersect, type TEvaluateUnion } from './evaluate.mjs'; export type TEvaluatePropertyIntersect, Property extends TSchema = TRemoveReadonlyAction>> = ([ IsReadonly, IsOptional ] extends [true, true] ? TAddReadonlyAction> : [ IsReadonly, IsOptional ] extends [true, false] ? TAddReadonlyAction : [ IsReadonly, IsOptional ] extends [false, true] ? TAddOptionalAction : Property); export declare function EvaluatePropertyIntersect(left: Left, right: Right): TEvaluatePropertyIntersect; export type TEvaluatePropertyUnion>, RightProperty extends TSchema = TRemoveReadonlyAction>, Property extends TSchema = TEvaluateUnion<[LeftProperty, RightProperty]>> = ([ IsReadonly, IsOptional ] extends [true, true] ? TAddReadonlyAction> : [ IsReadonly, IsOptional ] extends [true, false] ? TAddReadonlyAction : [ IsReadonly, IsOptional ] extends [false, true] ? TAddOptionalAction : Property); export declare function EvaluatePropertyUnion(left: Left, right: Right): TEvaluatePropertyUnion;