import { type QueryAST } from '@dxos/echo-protocol'; export interface Order { '~Order': { value: T; }; ast: QueryAST.Order; } export type Any = Order; export declare const natural: Order; export declare const property: (property: keyof T & string, direction: QueryAST.OrderDirection) => Order; /** * Order by relevance rank (for FTS/vector search results). * Higher rank = better match. Default direction is 'desc' (best matches first). */ export declare const rank: (direction?: QueryAST.OrderDirection) => Order; /** * Order by the system `updatedAt` timestamp (last re-indexed). Default direction is 'desc' * (most-recently-updated first). Mirrors {@link Filter.updated}. */ export declare const updated: (direction?: QueryAST.OrderDirection) => Order; /** * Order by the system `createdAt` timestamp (first indexed). Default direction is 'desc' * (most-recently-created first). Mirrors {@link Filter.created}. */ export declare const created: (direction?: QueryAST.OrderDirection) => Order; //# sourceMappingURL=Order.d.ts.map