import { AgentsManageDatabaseClient } from "@inkeep/agents-core";

//#region src/domains/run/services/ImprovementService.d.ts
declare function isCopilotScope(params: {
  tenantId: string;
  projectId: string;
}): Promise<boolean>;
interface TriggerImprovementParams {
  tenantId: string;
  projectId: string;
  agentId: string;
  feedbackIds: string[];
  additionalContext?: string;
  userId: string;
  forwardedCookie?: string;
  db: AgentsManageDatabaseClient;
}
interface TriggerImprovementResult {
  branchName: string;
  conversationId: string;
}
declare function triggerImprovement(params: TriggerImprovementParams): Promise<TriggerImprovementResult>;
interface ContinueImprovementParams {
  tenantId: string;
  projectId: string;
  branchName: string;
  message: string;
  userId: string;
  forwardedCookie?: string;
  db: AgentsManageDatabaseClient;
}
interface ContinueImprovementResult {
  conversationId: string;
}
declare function continueImprovement(params: ContinueImprovementParams): Promise<ContinueImprovementResult>;
//#endregion
export { ContinueImprovementParams, ContinueImprovementResult, TriggerImprovementParams, TriggerImprovementResult, continueImprovement, isCopilotScope, triggerImprovement };