import type { RuntimeTaskAssignment } from '../../types/index.js';
/**
 * Generate a FileOwnershipMap from task assignments.
 * Maps each file path to the agent that owns it.
 * If multiple agents claim the same file, the first assignment wins
 * and conflicts are returned separately.
 */
export declare function generateFileOwnershipMap(assignments: RuntimeTaskAssignment[]): {
    map: Record<string, string>;
    conflicts: string[];
};
/**
 * Get the list of files owned by a specific agent.
 */
export declare function getAgentFiles(ownershipMap: Record<string, string>, agentId: string): string[];
/**
 * Check if an agent owns a specific file.
 */
export declare function agentOwnsFile(ownershipMap: Record<string, string>, agentId: string, file: string): boolean;
/**
 * Format ownership map as markdown for agent handoff context.
 * Uses relative paths (not absolute) for language-agnostic portability.
 */
export declare function formatOwnershipContext(ownershipMap: Record<string, string>, agentId: string): string;
//# sourceMappingURL=file-ownership.d.ts.map