import type { TeamConfig, TeamMember, TeamTask } from '../types/team-config';
import type { TeamProtocolMessage } from '../types/team-protocol';
export declare function validateTeamName(teamName: string): void;
export declare function validateAgentName(agentName: string): void;
export declare function validateTaskId(taskId: string): void;
export declare function getTeamsDir(): string;
export declare function getTasksDir(teamName: string): string;
export declare function createTeam(config: TeamConfig): void;
export declare function loadTeamConfig(teamName: string): TeamConfig | null;
export declare function saveTeamConfig(teamName: string, config: TeamConfig): Promise<void>;
export declare function deleteTeam(teamName: string): void;
export declare function addTeamMember(teamName: string, member: TeamMember): Promise<void>;
export declare function removeTeamMember(teamName: string, agentId: string): Promise<void>;
export declare function createTask(teamName: string, task: TeamTask): Promise<void>;
export declare function updateTask(teamName: string, taskId: string, updates: Partial<TeamTask>): Promise<void>;
export declare function listTasks(teamName: string): TeamTask[];
export declare function getTask(teamName: string, taskId: string): TeamTask | null;
export declare function sendMessage(teamName: string, to: string, message: TeamProtocolMessage): Promise<void>;
export declare function readInbox(teamName: string, agentName: string): TeamProtocolMessage[];
export declare function clearInbox(teamName: string, agentName: string): void;
