export declare type DeepPartial = { [P in keyof T]?: T[P] extends Array ? Array> : T[P] extends ReadonlyArray ? ReadonlyArray> : DeepPartial; }; export declare type Where = { operator?: 'AND' | 'OR'; fields: DeepPartial; }; export declare type SelectInput = { fields?: string | string[]; where?: Where[] | Where | Partial; }; export declare type UpInsertInput = { fields: Partial; where?: { operator?: 'AND' | 'OR'; fields: Partial; } | Partial; }; export declare type DeleteInput = { where: { operator?: 'AND' | 'OR'; fields: Partial; } | Partial; }; export declare type Pagination = { page: number; limit: number; order?: { field: string | string[]; way: 'ASC' | 'DESC'; }; };