import { type AgentConfig, type AgentCreateRequest, type AgentUpdateProfileRequest, type AgentUpdateProviderRequest } from '../../shared/agent-config.js'; import type { ProviderAccountId } from '../../shared/provider-accounts.js'; import { type TeamService } from '../teams/team.service.js'; import type { AgentSkills } from '../../shared/skills.js'; import { AgentRegistryStore, AgentStore } from '../storage/schema/agent.store.js'; import { type KbRegistryService } from '../kb/kb.service.js'; import { SessionStore, type ArchivedProviderSession, type Session } from '../storage/schema/session.store.js'; export { AgentConfigError } from './agent-config-ops.js'; export interface RotateSessionResult { agentId: string; archivedAt: string; archivedProviderSessions: ArchivedProviderSession[]; } export declare class AgentService { private readonly agentId; private readonly store; private readonly sessionStore; constructor(agentId: string, store?: AgentStore, sessionStore?: SessionStore); exists(): boolean; getConfig(): Promise; createAgent(agent: AgentConfig): Promise; setEnabled(enabled: boolean): Promise; updateHome(homePath: string): Promise; updateProfile(profile: AgentUpdateProfileRequest): Promise; updateProvider(provider: AgentUpdateProviderRequest): Promise; setClaudeAccount(accountId: ProviderAccountId | null): Promise; getSession(): Promise; getSkills(): Promise; rotateSession(note?: string): Promise; removeAgent(): Promise; saveConfig(agent: AgentConfig): Promise; private archiveCurrentProviderSession; } export declare class AgentRegistryService { private readonly registry; private readonly kbRegistryService; private readonly teamService; constructor(registry?: AgentRegistryStore, kbRegistryService?: KbRegistryService, teamService?: TeamService); listAgentConfigs(): Promise; listAgentIds(): Promise; createAgent(input: AgentCreateRequest): Promise; assignTeam(agentId: string, teamId: string): Promise; serviceFor(agentId: string): AgentService; } export declare const defaultAgentRegistryService: AgentRegistryService; //# sourceMappingURL=agent.service.d.ts.map