declare module '*.webp' { const value: any; export = value; } declare module "*.png" { const value: any; export = value; } declare module "*.svg" { const value: any; export = value; } type Merge = { [K in keyof A]: K extends keyof B ? B[K] : A[K]; } & B; interface PaginationType { limit?: number; offset?: number; sort?: string[] | string; keyword?: string; etc?: any; } type FilesParams = Merge< PaginationType, { projectId?: string; readingDeskId?: string; fileName?: string; } >; type TableState = { pageSize: number; currentPage: number; keyword?: string; sort?: string; }; type SubjectType = 'all' | 'project' | 'readingDesk' | 'file' | null;