1 | import type { SortObjectKeys } from './types.js';
|
2 | export default function getCollectionEntries(type: string, collection: unknown, sortObjectKeys: SortObjectKeys, limit: number, from?: number, to?: number): ({
|
3 | key: string | number;
|
4 | value: unknown;
|
5 | } | {
|
6 | from: number;
|
7 | to: number;
|
8 | })[];
|