import type { BaseQuery, IndexApi, Page, PaginationQuery, StreamState, DiagnosticsLogger } from '@dustil/common'; import type { Repository } from '../state-management/repository.js'; import { IndexStreamArgs } from './database-index-api.js'; import { StreamID } from '@dustil/streamid'; import { IndexingConfig } from './build-indexing.js'; import { Networks } from '@dustil/common'; export declare class LocalIndexApi implements IndexApi { private readonly indexingConfig; private readonly repository; private readonly logger; private readonly databaseIndexApi; constructor(indexingConfig: IndexingConfig, repository: Repository, logger: DiagnosticsLogger, networkName: Networks); shouldIndexStream(args: StreamID): boolean; indexStream(args: IndexStreamArgs): Promise; count(query: BaseQuery): Promise; query(query: PaginationQuery): Promise>; indexedModels(): Array; indexModels(models: Array | null | undefined): Promise; stopIndexingModels(models: Array): Promise; init(): Promise; close(): Promise; } //# sourceMappingURL=local-index-api.d.ts.map