import { GraphQLTypesForList, PickerContext } from '../../types'; import { InitialisedList } from '../../types-for-lists'; import { graphql } from '../../types/schema'; import { NestedMutationState } from './create-update'; declare type _CreateValueType = Exclude>>, null | undefined>; declare type _UpdateValueType = Exclude>>, null | undefined>; export declare class RelationshipErrors extends Error { errors: { error: Error; tag: string; }[]; constructor(errors: { error: Error; tag: string; }[]); } export declare function resolveRelateToManyForCreateInput(nestedMutationState: NestedMutationState, context: PickerContext, foreignList: InitialisedList, tag: string): (value: _CreateValueType) => Promise<{ connect: (Record & { _____?: "unique prisma filter"; then?: undefined; })[]; }>; export declare function resolveRelateToManyForUpdateInput(nestedMutationState: NestedMutationState, context: PickerContext, foreignList: InitialisedList, tag: string): (value: _UpdateValueType) => Promise<{ set: (Record & { _____?: "unique prisma filter"; then?: undefined; })[]; disconnect: (Record & { _____?: "unique prisma filter"; then?: undefined; })[]; connect: (Record & { _____?: "unique prisma filter"; then?: undefined; })[]; }>; export {};