import { Type, Index } from '../interfaces'; import { Entities } from '../schema'; import { Namespace } from '../options'; export interface Action { type: string; resourceType: Type; source: Index; destination: Index; } export interface Creator { (type: Type, source: Index, destination: Index): Action; } export declare const makeReindex: (entities: Entities, namespace: Namespace) => { type: string; creator: (resourceType: string, source: number, destination: number) => { type: string; resourceType: string; source: number; destination: number; }; };