import type { Accountability, Query, SchemaOverview } from '@db-studio/types'; import type { Knex } from 'knex'; import type { AbstractServiceOptions } from '../types/index.js'; export declare class MetaService { knex: Knex; accountability: Accountability | null; schema: SchemaOverview; constructor(options: AbstractServiceOptions); getMetaForQuery(collection: string, query: any): Promise | undefined>; totalCount(collection: string): Promise; filterCount(collection: string, query: Query): Promise; }