/** * Platform adapter registry. * * Exports all platform adapters in a Map keyed by PlatformId, * plus a sorted list of supported platform identifiers for error messages. * * Requirements: 1.1, 1.3, claude-codex-only/AC-1 * * @module */ import type { PlatformAdapter, PlatformId } from '../../core/types.js'; /** All registered platform adapters, keyed by platform identifier. */ export declare const adapters: Map; /** Sorted list of supported platform identifiers (for error messages). */ export declare const supportedPlatforms: PlatformId[]; /** * Platforms aidlc 1.x supported and aidlc 2 removed. * * Named rather than left to fall through as "unknown": a project configured for * one of these did nothing wrong, and the generic unknown-platform warning reads * as a typo (claude-codex-only, design D2). */ export declare const droppedPlatforms: readonly string[]; /** Was this platform removed in aidlc 2? */ export declare function isDroppedPlatform(platform: string): boolean; /** A configured platform list split by what aidlc 2 does with each entry, in config order. */ export interface PlatformPartition { supported: PlatformId[]; dropped: string[]; unknown: string[]; } export declare function partitionPlatforms(platforms: readonly string[]): PlatformPartition; /** * The one message a project still configured for dropped platforms gets, or null * when it lists none. One line naming them all, not one per platform * (claude-codex-only/AC-5). It says how to silence itself because the entry is * deliberately left in config.yaml (design D1), and where to ask for the platform * back, because a dropped user otherwise has no way to say the drop hurt * (public-feedback-channel/AC-3). Silencing stays last: it is the user's action. */ export declare function droppedPlatformsNotice(dropped: readonly string[]): string | null; /** The refusal for `aidlc init --platform ` (claude-codex-only/AC-3, public-feedback-channel/AC-2). */ export declare function droppedPlatformRefusal(platform: string): string; //# sourceMappingURL=index.d.ts.map