/** * Internal same-process bootstrap for the SQLite-authoritative sync service. * * The root package deliberately does not export this module. It assembles the * mapped SQLite runtime, provisions the registered projections, starts the * outbound effect supervisor, and owns graceful shutdown around one SQLite * connection shared by ORM and sync storage. * * The full service-account Google Sheets API provider owns provisioning, * outbound effects, table reads, anchors, and snapshots; no Apps Script or * mixed-mode provider is supported anymore. In-process tests may inject a * provider double through the internal `provider`/`provisioner` options. * * This module is the thin ordered composition root: cohesive responsibilities * (option/lease/projection validation, remote provider assembly, effect and * polling supervisor construction, shutdown and lease release) live in the * sibling modules in this directory, and startup failure cleanup stays here. */ import { type InternalSyncService, type InternalSyncServiceOptions } from "./serviceOptions.js"; export type { InternalSyncProvider, InternalSyncService, InternalSyncServiceOptions, } from "./serviceOptions.js"; /** * Opens, provisions, and starts one internal sync service. * * Startup is fail-closed: a malformed route, missing provider, or remote * provisioning failure closes the SQLite runtime before the error escapes. */ export declare function createInternalSyncService(options: InternalSyncServiceOptions): Promise; //# sourceMappingURL=SyncServiceBootstrap.d.ts.map