import { RecordData } from '../../record';
import Projection from '../projection';
export type PlainSortClause = {
    field: string;
    ascending: boolean;
};
export default class Sort extends Array<{
    field: string;
    ascending: boolean;
}> {
    get projection(): Projection;
    replaceClauses(callback: (clause: PlainSortClause) => Sort | PlainSortClause[] | PlainSortClause): Sort;
    nest(prefix: string): Sort;
    inverse(): Sort;
    unnest(): Sort;
    apply(records: RecordData[]): RecordData[];
}
//# sourceMappingURL=index.d.ts.map