import type { Client } from "@libsql/client"; import { type MeshRow } from "../registry/meshes-repo.js"; import { type VaultRow } from "../registry/repo.js"; export declare function mainVaultNameForMesh(meshName: string): string; export interface MeshLinkDriftItem { meshName: string; meshRidHex: string; missingHomeVaultNames: string[]; missingMainVaultName: string | null; } export interface MeshLinkReconcileOutcome { meshName: string; meshRidHex: string; homeRowsAdded: string[]; mainVaultSet: string | null; error?: string; } interface VaultSnapshotOpt { vaults?: readonly VaultRow[]; } export declare function resolveMainVaultPathByConvention(db: Client, mesh: MeshRow, opts?: VaultSnapshotOpt): Promise; export declare function detectMeshLinkDriftForMesh(db: Client, mesh: MeshRow, opts?: VaultSnapshotOpt): Promise; export declare function detectMeshLinkDrift(db: Client): Promise; export declare function reconcileOneMesh(db: Client, mesh: MeshRow, opts?: VaultSnapshotOpt): Promise; export declare function reconcileMeshLinks(db: Client): Promise; export {}; //# sourceMappingURL=mesh-link-reconcile.d.ts.map