import { Knex } from 'knex'; import { AbstractServiceOptions } from '../types'; import { Accountability, Query, SchemaOverview } from '@directus/shared/types'; export declare class MetaService { knex: Knex; accountability: Accountability | null; schema: SchemaOverview; deletedAtField: string; constructor(options: AbstractServiceOptions); getMetaForQuery(collection: string, query: any): Promise | undefined>; totalCount(collection: string, query: Query): Promise; filterCount(collection: string, query: Query): Promise; getTotalCount(collection: string, query: Query): Promise; getTotalPage(collection: string, query: Query, totalCount?: number): Promise; }