import { Entity } from '../base.dto'; import { IBasePaginationResponse } from '../base.response'; import { ICursorPaginationResponse } from './cursor-based.pagination'; import { IOffsetPaginationResponse } from './offset-based.pagination'; import { IPagePaginationResponse } from './page-based.pagination'; export type PaginationMode = 'page' | 'offset' | 'cursor'; export type PaginationResponse = IPagePaginationResponse | IOffsetPaginationResponse | ICursorPaginationResponse; export interface IPaginationResponse extends IBasePaginationResponse, Partial, keyof IBasePaginationResponse>>, Partial, keyof IBasePaginationResponse>>, Partial, keyof IBasePaginationResponse>> { } export * from './cursor-based.pagination'; export * from './cursor-pagination'; export * from './offset-based.pagination'; export * from './page-based.pagination'; //# sourceMappingURL=index.d.ts.map