import type { TeamConfig } from '@levelcode/common/types/team-config';
export interface TeamContext {
    teamName: string;
    agentName: string;
    config: TeamConfig;
}
/**
 * Discovers the team context for a given agent identifier.
 * Scans all team directories to find which team the agent belongs to.
 * Matches against both the raw agentId and a "lead-" prefixed variant.
 *
 * Returns null if the agent is not part of any team (e.g., standalone mode).
 */
export declare function findTeamContext(agentIdentifier: string): TeamContext | null;
