import { Type, Id, CidString, UnlinkDefinition as Definition, RelationName, RelationKey, Index } from '../interfaces'; import { Entities } from '../schema'; import { Namespace } from '../options'; export interface Action { type: string; definitions: Map; } export interface Creator { (...definitions: InputDefinition[]): Action; } declare type DefinitionTuple = [Type, Id, RelationName | RelationKey, Id | Index, boolean?]; declare type InputDefinition = Definition | DefinitionTuple; export declare const makeUnlink: (entities: Entities, namespace: Namespace) => { type: string; creator: (...definitions: InputDefinition[]) => { type: string; definitions: Map; }; }; export {};