import { EditOperation, OpId, Type, Id, Data, EditOptions } from '../interfaces'; import { Entities } from '../schema'; import { Namespace } from '../options'; export interface Action { type: string; operations: Map; } export interface Creator { (...resources: Input[]): Action; } interface InputObject { type: Type; id: Id; data: Data; options?: EditOptions; } declare type InputTuple = [Type, Id, Data, EditOptions?]; declare type Input = InputObject | InputTuple; export declare const makeEdit: (entities: Entities, namespace: Namespace) => { creator: Creator; type: string; }; export {};