import { ModelDef, OrderBy, SelectAst, WhereAst } from './types'; export type QueryAst> = SelectAst; export declare function orderObjectToArray(order?: OrderBy): Array<{ field: string; direction: 'asc' | 'desc'; }> | undefined; export declare function and(...nodes: WhereAst[]): WhereAst; export declare function or(...nodes: WhereAst[]): WhereAst; export declare function not(node: WhereAst): WhereAst; export declare function raw(sql: string): WhereAst;