import type { ProjectIntegrationGateway, ProjectIntegrationService } from "../project-integration-service"; import type { ProjectService } from "../project-service"; import type { RepoContextService } from "../repo-context"; import { type ToduDaemonClient } from "./daemon-client"; export declare class ToduProjectIntegrationServiceError extends Error { readonly operation: string; readonly causeCode: string; readonly details?: Record; constructor(options: { operation: string; causeCode: string; message: string; details?: Record; cause?: unknown; }); } export interface ToduProjectIntegrationGatewayDependencies { client: ToduDaemonClient; } declare const createToduProjectIntegrationGateway: ({ client, }: ToduProjectIntegrationGatewayDependencies) => ProjectIntegrationGateway; declare const createToduProjectIntegrationService: ({ client, projectService, repoContextService, }: { client: ToduDaemonClient; projectService: ProjectService; repoContextService: RepoContextService; }) => ProjectIntegrationService; declare const runProjectIntegrationServiceOperation: (operation: string, action: () => Promise) => Promise; export { createToduProjectIntegrationGateway, createToduProjectIntegrationService, runProjectIntegrationServiceOperation, };