import { Query } from './query'
import { NameBase, DIC, ID, DEFAULT_RULE_TYPE } from './type'
export declare class List extends Array {
query: Query
static $name: NameBase
get first(): A[0]
get last(): A[0]
get head(): A[0]
get tail(): A[0]
get uniq(): this
pluck(...keys: ID[]): List
static bless(list: any[], query: Query): List
constructor(query: Query)
sort(...cmd: any[]): this
group_by(cb: any): DIC>
page_by(per: any): List[]
where(req: any): Query
in(req: any): Query
}