import { type ProviderId } from '@dharma-ai-labs/agent-fabric-contracts'; import { type SecureSecretStore } from '@dharma-ai-labs/agent-fabric-relay-client'; import { type DemoDeviceScope } from './demoEnrollment.js'; export interface DemoPackageDependencies { store?: SecureSecretStore; fetcher?: typeof fetch; now?: () => number; } export declare function demoRepositoryPackage(input: { scope: DemoDeviceScope; workspace: string; knowledgeOnly?: boolean; statusOnly?: boolean; provider?: ProviderId; nativeSkillDirectory?: string; }, deps?: DemoPackageDependencies): Promise<{ ok: boolean; stage: string; repositoryId: string; repositoryPackageState: string; candidate: import("./repositoryCandidateSync.js").RepositoryCandidateReceipt | null; ready: boolean; activationState: string; candidateId?: undefined; candidateState?: undefined; errorCode?: undefined; correlationId?: undefined; sourceSync?: undefined; installed?: undefined; acknowledgement?: undefined; firstLearning?: undefined; } | { ok: boolean; stage: string; repositoryId: string; repositoryPackageState: string; candidateId: unknown; candidateState: unknown; errorCode: {} | null; correlationId: unknown; ready: boolean; activationState: string; candidate?: undefined; sourceSync?: undefined; installed?: undefined; acknowledgement?: undefined; firstLearning?: undefined; } | { ok: boolean; stage: string; repositoryId: string; repositoryPackageState: string; candidate: null; sourceSync: { state: string; fingerprint: string; candidate: import("./repositoryCandidateSync.js").RepositoryCandidateReceipt; } | { state: string; fingerprint: string; candidate: null; }; ready: boolean; activationState: string; candidateId?: undefined; candidateState?: undefined; errorCode?: undefined; correlationId?: undefined; installed?: undefined; acknowledgement?: undefined; firstLearning?: undefined; } | { ok: boolean; stage: string; repositoryId: string; repositoryPackageState: string; candidate: null; installed: { releaseId: string; bundleId: string; receiptHash: string; alreadyInstalled: boolean; policyTransition?: undefined; policyHash?: undefined; retainedKnowledge?: undefined; }; acknowledgement: { receiptHash: string; duplicate: boolean; }; ready: boolean; activationState: string; candidateId?: undefined; candidateState?: undefined; errorCode?: undefined; correlationId?: undefined; sourceSync?: undefined; firstLearning?: undefined; } | { ok: boolean; stage: string; repositoryId: string; repositoryPackageState: string; candidate: null; installed: { releaseId: string; bundleId: string; receiptHash: string; alreadyInstalled: boolean; policyTransition?: undefined; policyHash?: undefined; retainedKnowledge?: undefined; }; acknowledgement: { receiptHash: string; duplicate: boolean; }; sourceSync: { state: string; fingerprint: string; candidate: import("./repositoryCandidateSync.js").RepositoryCandidateReceipt; } | { state: string; fingerprint: string; candidate: null; }; ready: boolean; activationState: string; candidateId?: undefined; candidateState?: undefined; errorCode?: undefined; correlationId?: undefined; firstLearning?: undefined; } | { ok: boolean; stage: string; repositoryId: string; repositoryPackageState: string; candidate: import("./repositoryCandidateSync.js").RepositoryCandidateReceipt; firstLearning: { disposition: "planned" | "initialized" | "reused"; knowledgeBaseId: string; } | { disposition: string; knowledgeBaseId?: undefined; }; ready: boolean; activationState: string; candidateId?: undefined; candidateState?: undefined; errorCode?: undefined; correlationId?: undefined; sourceSync?: undefined; installed?: undefined; acknowledgement?: undefined; }>; //# sourceMappingURL=demoPackage.d.ts.map