/** * CAAMP Adapter - Canonical implementation * * Wraps @cleocode/caamp APIs for use across CLEO subsystems. * Provides provider registry, injection operations, * and batch/orchestration functions as EngineResult-returning functions. * * This is the SINGLE SOURCE OF TRUTH for all CAAMP adapter logic. * CLI dispatch layer re-exports from here. * * @task T4678 * @task T4705 * @epic T4663 */ import { type BatchInstallOptions, type BatchInstallResult, type DetectionResult, generateInjectionContent, getInstructionFiles, type InjectionStatus, type Provider, resolveAlias } from '@cleocode/caamp'; export type { EngineResult } from '../engine-result.js'; import type { EngineResult } from '../engine-result.js'; /** * List all registered providers. * @task T4332 */ export declare function providerList(): EngineResult; /** * Get a single provider by ID or alias. * @task T4332 */ export declare function providerGet(idOrAlias: string): EngineResult; /** * Detect all providers installed on the system. * @task T4332 */ export declare function providerDetect(): EngineResult; /** * Get providers that are installed on the system. * @task T4332 */ export declare function providerInstalled(): EngineResult; /** * Get count of registered providers. * @task T4332 */ export declare function providerCount(): EngineResult<{ count: number; }>; /** * Get CAAMP registry version. * @task T4332 */ export declare function registryVersion(): EngineResult<{ version: string; }>; /** * Check injection status for a single file. * @task T4332 */ export declare function injectionCheck(filePath: string, expectedContent?: string): Promise>; /** * Check injection status across all providers. * @task T4332 */ export declare function injectionCheckAll(projectDir: string, scope: 'project' | 'global', expectedContent?: string): Promise>; /** * Inject or update content in a single file. * @task T4332 */ export declare function injectionUpdate(filePath: string, content: string): Promise>; /** * Inject content to all providers' instruction files. * @task T4332 */ export declare function injectionUpdateAll(projectDir: string, scope: 'project' | 'global', content: string): Promise; }>>; /** * Install multiple skills atomically with rollback on failure. * * @task T4705 * @epic T4663 */ export declare function batchInstallWithRollback(options: BatchInstallOptions): Promise>; export type { BatchInstallOptions as CaampBatchInstallOptions, BatchInstallResult as CaampBatchInstallResult, DetectionResult as CaampDetectionResult, InjectionStatus as CaampInjectionStatus, Provider as CaampProvider, }; export { generateInjectionContent as caampGenerateInjectionContent, getInstructionFiles as caampGetInstructionFiles, resolveAlias as caampResolveAlias, }; //# sourceMappingURL=adapter.d.ts.map