import type { AgentPlatform, AgentConfig, PlatformsConfig } from '../../types/index.js';
export declare function loadPlatforms(): Promise<PlatformsConfig>;
/**
 * Get the agent configuration for a platform.
 */
export declare function getAgentConfig(platform: AgentPlatform): Promise<AgentConfig>;
/**
 * Detect which agent platform is likely being used in a project.
 */
export declare function detectAgentPlatform(projectConventions: Record<string, string>): Promise<{
    platform: AgentPlatform;
    confidence: number;
    detectedFrom: string[];
}>;
/**
 * Detect which AI agent platform is being used by scanning actual config files on disk.
 * More reliable than convention-based detection.
 * Merges built-in platforms with any custom platforms defined in planu.json.
 */
export declare function detectAgentPlatformFromFiles(projectPath: string): Promise<{
    platform: AgentPlatform;
    confidence: number;
    detectedFrom: string[];
}>;
//# sourceMappingURL=detect.d.ts.map