import type { ColumnMetadata, OrderByClause, OrderByDirection, Query } from "./types";
export declare function orderableColumns(query: Query, stageIndex: number): ColumnMetadata[];
export declare function orderBys(query: Query, stageIndex: number): OrderByClause[];
export declare function orderBy(query: Query, stageIndex: number, column: ColumnMetadata | OrderByClause, direction?: OrderByDirection): Query;
export declare function orderByClause(column: ColumnMetadata, direction?: OrderByDirection): OrderByClause;
export declare function changeDirection(query: Query, clause: OrderByClause): Query;
export declare function removeOrderBys(query: Query, stageIndex: number): Query;
