import { SdFilter } from './filter.model';
import { SdOrder } from './order.model';
export interface SdQueryReq<T = any> {
    filters?: SdFilter<T>[];
    fields?: Extract<keyof T, string>[];
}
export interface SdPagingReq<T = any> extends SdQueryReq<T> {
    pageSize?: number;
    pageNumber?: number;
    orders?: SdOrder<T>[];
}
export interface SdPagingRes<T = any> {
    items: T[];
    total: number;
}
