import type { PlatformDefinition } from '../types/conventions.js';
export type { PlatformDefinition };
/** @internal — exported for test resets only */
export declare function clearPlatformRegistryCache(): void;
/**
 * Load all platform definitions.
 *
 * 1. Always loads built-in platforms from src/config/agent-platforms.json.
 * 2. If projectPath is provided, also reads planu.json for customPlatforms.
 * 3. Custom platforms take precedence over built-in ones (matched by id).
 */
export declare function loadPlatforms(projectPath?: string): Promise<PlatformDefinition[]>;
/**
 * Find a single platform by id. Returns undefined if not found.
 */
export declare function findPlatformById(id: string, projectPath?: string): Promise<PlatformDefinition | undefined>;
//# sourceMappingURL=platform-registry.d.ts.map