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