import type { DependencyManager } from '../../plugins'; import type { GenericRecord, GenericRecordTags, SaveGenericRecordOption } from './repository/GenericRecord'; import { AgentConfig } from '../../agent/AgentConfig'; import { GenericRecordService } from './service/GenericRecordService'; export declare type ContentType = { content: string; }; export declare class GenericRecordsModule { private genericRecordsService; private logger; constructor(agentConfig: AgentConfig, genericRecordsService: GenericRecordService); save({ content, tags }: SaveGenericRecordOption): Promise; delete(record: GenericRecord): Promise; update(record: GenericRecord): Promise; findById(id: string): Promise; findAllByQuery(query: Partial): Promise; getAll(): Promise; /** * Registers the dependencies of the generic records module on the dependency manager. */ static register(dependencyManager: DependencyManager): void; }