import type { Client } from "@libsql/client"; import type { FederationGhClient } from "../util/gh-federation.js"; import type { GhExecutor } from "../util/gh-discover.js"; import type { MeshGhClient } from "../util/gh-mesh.js"; import { type FederationInitBranch } from "./federation/init.js"; import { type RecoverDrop, type RecoverPodResult, type VaultCloneFn } from "./federation/recover-pod.js"; import { type ClusterOutcome } from "./discover.js"; import type { AdoptCloneFn } from "./mesh-adopt-cluster.js"; import type { SubscribeCloneFn } from "./subscribe.js"; export interface AdoptAndPrimeArgs { handle?: string | undefined; registryDb?: Client | undefined; federationGhClient?: FederationGhClient | undefined; ghExecutor?: GhExecutor | undefined; meshGhClient?: MeshGhClient | undefined; adoptCloneFn?: AdoptCloneFn | undefined; subscribeCloneFn?: SubscribeCloneFn | undefined; skipDiscover?: boolean | undefined; vaultCloneFn?: VaultCloneFn | undefined; skipReconcile?: boolean | undefined; noPush?: boolean | undefined; localOnly?: boolean | undefined; } export interface AdoptAndPrimeResult { podBranch: FederationInitBranch; podLocalPath: string; podHandle: string; vaultsAcquired: number; vaultsRecoveredFromManifest: number; manifestSkipped: { vaultName: string; reason: string; }[]; manifestDrops?: RecoverDrop[]; manifestRefused?: boolean; manifestRefusedKind?: RecoverPodResult["refusedKind"]; manifestRefusedReason?: string; clusterOutcomes: ClusterOutcome[]; firstVaultCreated: boolean; primaryVaultPath: string | null; primaryMeshName: string | null; reconciledVaultPaths: string[]; } export declare function adoptAndPrimeFlow(args?: AdoptAndPrimeArgs): Promise; //# sourceMappingURL=adopt-and-prime.d.ts.map