import { Query, QueryOptions } from "../../../storage/StorageService.js";
import { GenericRecord, SaveGenericRecordOption } from "../repository/GenericRecord.js";
import { GenericRecordsRepository } from "../repository/GenericRecordsRepository.js";
import { AgentContext } from "../../../agent/context/AgentContext.js";

//#region src/modules/generic-records/services/GenericRecordService.d.ts
declare class GenericRecordService {
  private genericRecordsRepository;
  constructor(genericRecordsRepository: GenericRecordsRepository);
  save(agentContext: AgentContext, {
    content,
    tags,
    id
  }: SaveGenericRecordOption): Promise<GenericRecord>;
  delete(agentContext: AgentContext, record: GenericRecord): Promise<void>;
  deleteById(agentContext: AgentContext, id: string): Promise<void>;
  update(agentContext: AgentContext, record: GenericRecord): Promise<void>;
  findAllByQuery(agentContext: AgentContext, query: Query<GenericRecord>, queryOptions?: QueryOptions): Promise<GenericRecord[]>;
  findById(agentContext: AgentContext, id: string): Promise<GenericRecord | null>;
  getAll(agentContext: AgentContext): Promise<GenericRecord[]>;
}
//#endregion
export { GenericRecordService };
//# sourceMappingURL=GenericRecordService.d.ts.map