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