import type { AgentContext } from '../../../agent'; import type { Query } from '../../../storage/StorageService'; import type { SaveGenericRecordOption } from '../repository/GenericRecord'; import { GenericRecord } from '../repository/GenericRecord'; import { GenericRecordsRepository } from '../repository/GenericRecordsRepository'; export declare class GenericRecordService { private genericRecordsRepository; constructor(genericRecordsRepository: GenericRecordsRepository); save(agentContext: AgentContext, { content, tags, id }: SaveGenericRecordOption): Promise; delete(agentContext: AgentContext, record: GenericRecord): Promise; deleteById(agentContext: AgentContext, id: string): Promise; update(agentContext: AgentContext, record: GenericRecord): Promise; findAllByQuery(agentContext: AgentContext, query: Query): Promise; findById(agentContext: AgentContext, id: string): Promise; getAll(agentContext: AgentContext): Promise; }