import { Order, PageRequest } from '../core/helpers'; export declare class SorterInput { column?: string; order?: Order; } export declare const toOrder: (sorter: SorterInput) => { [x: string]: Order; }; export declare class CursoredRequestInput { first?: number; after?: string; } export declare class PageRequestInput implements PageRequest { page?: number; size?: number; orderBy?: SorterInput; } /** * @deprecated {@see ExclusiveQueryConditionInput} */ export declare class QueryConditionInput { ids?: string[] | number[]; random?: number; } export declare class ExclusiveQueryConditionInput { ids?: string[] | number[]; random?: number; category?: string; } export declare class SingleQueryInput { id?: string; } export declare abstract class QueryInput { exclusive: ExclusiveQueryConditionInput; } export declare class RelationQueryConditionInput { latest?: number; where?: object; orderBy?: { column: string; order?: Order; }; } export declare class AdminQueryConditionInput { ids?: string[] | number[]; where?: object; } export declare type InputQuery = {}> = R & { [key: string]: string; }; export declare type CategoryInputQuery = {}> = InputQuery & { category?: string; }; export declare class TimeConditionInput { column?: string; before?: Date; after?: Date; }