// Offset-pagination envelope. `total` is the filtered count before slicing. export interface Pagination { items: T[]; total: number; limit: number; offset: number; }