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 * as knex from 'knex'; export declare type Document = any; export default interface FacadeConfig { readonly constructDocument: (patch: Partial) => Document; readonly constructEntity: (document: Document) => E; readonly constructFilter: (filter: Filter) => any; readonly constructQuery: (db: knex) => knex.QueryBuilder; readonly constructSort: (sort: Sort) => any; readonly db: () => Promise; readonly defaultPaginationLimit: number; readonly entityName: string; readonly tableName: string; }