import { Query } from './query' import { LeafCmd, ReduceLeaf, OrderCmd, Reduce, ReduceOrder, ReduceOrderPage, NameBase, CLASS, DEFAULT_RULE_TYPE, } from './type' import { List } from './list' export declare class Map { static $name: NameBase static bless(o: any): any static init(o: ReduceLeaf, cmd: LeafCmd): void static reduce( query: Query, path: string, item: any, o: ReduceLeaf, cmd: LeafCmd ): void static finish( query: Query, path: string, o: ReduceLeaf, list: CLASS> ): void static order( query: Query, path: string, from: Reduce, origin: any, cmd: OrderCmd, list: CLASS> ): ReduceOrder static dash( query: Query, path: string, from: ReduceOrder, origin: any, cmd: OrderCmd, list: CLASS> ): ReduceOrder static post_proc( query: Query, path: string, from: ReduceOrder, origin: any, cmd: OrderCmd, list: CLASS> ): ReduceOrder | ReduceOrderPage }