import type { Client } from "@libsql/client"; import type { MeshPushKind } from "../yon/mesh-write.js"; import { type CreationPlanV1 } from "./creation-plan.js"; import type { VaultCreationBinding } from "./vault-init-preflight.js"; import { createInitialCheckpointContext, type CheckpointGitRunner, type LocalCheckpointResult } from "../scaffold/local-checkpoint.js"; import { type CreationMutationEvidence } from "../op/creation-mutation-journal.js"; export interface MeshInitOptions { name: string; parent?: string | undefined; creation: VaultCreationBinding; noGit?: boolean | undefined; commitInitial?: boolean | undefined; pushTo?: string | undefined; pushKind?: MeshPushKind | undefined; noPush?: boolean | undefined; ghClient?: unknown; checkpointGitRunner?: CheckpointGitRunner | undefined; checkpointMode?: "automatic" | "deferred" | undefined; registryPath?: string | undefined; db?: Client | undefined; } export interface MeshInitResult { meshRid: Uint8Array; meshRidHex: string; meshName: string; pushTarget: string | null; pushKind: MeshPushKind | null; pushed: false; creationPlan: CreationPlanV1; checkpoint: LocalCheckpointResult; checkpointContext: ReturnType; mutations: CreationMutationEvidence; mainVault: { rid: Uint8Array; ridHex: string; name: string; path: string; }; parentVault: { rid: Uint8Array; ridHex: string; name: string; } | null; } export declare function meshInitFlow(opts: MeshInitOptions): Promise; //# sourceMappingURL=mesh-init.d.ts.map