import Entity from '@js-entity-repos/core/dist/types/Entity'; import { Filter } from '@js-entity-repos/core/dist/types/Filter'; import Sort from '@js-entity-repos/core/dist/types/Sort'; import { AxiosInstance } from 'axios'; export declare type Document = any; export default interface FactoryConfig { readonly axios: () => Promise; readonly constructDocument?: (patch: Partial) => Document; readonly constructEntity?: (document: Document) => E; readonly constructFilter?: (filter: Filter) => any; readonly constructSort?: (sort: Sort) => any; readonly defaultPaginationLimit?: number; readonly entityName: string; }