export declare const AFT_OPENCODE_PACKAGE = "@cortexkit/aft-opencode"; export declare const MODERN_V1_VERSION: string; export declare function pinnedPluginEntry(version: string): string; export declare function isAftNpmEntry(entry: unknown): entry is string; export interface PluginConfigUpdate { action: "already_present" | "added" | "updated"; changed: boolean; entry: string; } /** * Normalize an OpenCode server or TUI config without replacing its parsed object. * Keeping the object and its existing `plugin` array lets comment-json retain JSONC comments. */ export declare function ensurePinnedPluginConfig(value: Record, version: string, hasLocalAftEntry?: (entry: string) => boolean): PluginConfigUpdate; export declare function pluginConfigNeedsUpdate(value: Record, version: string, hasLocalAftEntry?: (entry: string) => boolean): boolean; //# sourceMappingURL=opencode-config.d.ts.map