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

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