import { KeystoneContext, ItemRootValue } from '../../../types'; import { InitialisedList } from '../types-for-lists'; import { IdType } from '../utils'; import { UniqueInputFilter } from '../where-inputs'; export declare class NestedMutationState { #private; constructor(context: KeystoneContext); create(data: Record, list: InitialisedList): Promise<{ id: IdType; }>; afterOperation(): Promise; } export declare function createOne(createInput: { data: Record; }, list: InitialisedList, context: KeystoneContext): Promise; export declare function createMany(createInputs: { data: Record[]; }, list: InitialisedList, context: KeystoneContext): Promise[]>; export declare function updateOne(updateInput: { where: UniqueInputFilter; data: Record; }, list: InitialisedList, context: KeystoneContext): Promise; export declare function updateMany({ data }: { data: { where: UniqueInputFilter; data: Record; }[]; }, list: InitialisedList, context: KeystoneContext): Promise[]>;