/** * Store paths — manifest-only catalog living at `~/.skaile/store/`. * * The store is symmetric to a remote catalog (skaile.store) but lives on the * user's machine. It holds *manifests* (pointer triples) only — never bytes. * Bytes live under `~/.skaile/cache/sources/` (third-party clones) or * `~/.skaile/libraries//` (user authoring). * * Layout: * ``` * ~/.skaile/store/ * ├── config.yaml mode: auto|local|remote, ttl, … * ├── favourites.yaml user pins * ├── manifests/ catalog entries (one yaml per ref) * ├── remote-cache/ TTL cache of remote-store responses (.gitignore'd) * └── .git/ store is a git repo (push to team remote) * ``` * * @docLink packages/library/concepts#store-paths */ /** * Resolve the absolute path to the local store root (`~/.skaile/store/`). * * Honors `SKAILE_HOME` (test isolation hook), mirroring {@link getSidecarRoot}. */ export declare function getStoreRoot(): string; /** Manifests subdir: `/manifests/`. */ export declare function getStoreManifestsDir(): string; /** * Move every `~/.skaile/sidecars//skaile.manifest.yaml` (or the legacy * `.skaile-source.yaml` for sidecars minted before the file-split rename) into * `~/.skaile/store/manifests/.yaml`, initialise the store as a git repo, * and write a marker so the migration is a no-op on subsequent runs. * * Idempotent. Cheap to call (single `existsSync` for the marker on the hot * path). Errors are swallowed and logged to stderr — a partial migration * leaves the marker absent so the next run retries. */ export declare function migrateSidecarsToStoreIfNeeded(): { migrated: number; storeRoot: string; }; //# sourceMappingURL=store-paths.d.ts.map