import type { EntityData } from '../entity/Entity.ts'; type PartialBy = Omit & Partial>; export type EasyData = PartialBy; export interface PageOptions { pageSize?: number; pageIndex?: number; } export interface PageResult { count: number; data: T[]; } export interface PageLimitOptions { offset: number; limit: number; } export declare class EntityUtil { static defaultData(data: EasyData, id: Id): T; static createId(): string; static convertPageOptionsToLimitOption(page: PageOptions): PageLimitOptions; } export {};