/** * Standard filesystem locations for OpenCodeHub persistent state. * * These helpers are pure — they never touch the filesystem — so they are * trivially testable. Resolution rules: * - Per-repo: `/.codehub/` holds `graph.lbug` (graph artifact) * and `temporal.duckdb` (cochange + symbol-summary sidecar) plus the * meta sidecar `meta.json`. * - Global : `~/.codehub/registry.json` holds the cross-repo registry. */ export declare const META_DIR_NAME = ".codehub"; export declare const META_FILE_NAME = "meta.json"; export declare const REGISTRY_FILE_NAME = "registry.json"; /** * Canonical artifact filenames. Used by: * * - The `openStore` factory to construct the graph + temporal file * paths from a single `/.codehub/` parent. * - The `codehub list` indexed-status probe to decide whether a repo * has any artifact on disk. * - The MCP error envelope to enumerate candidate paths in the * "store unreadable" message. * * `schemaName` is the namespace used inside the graph artifact when the * backend supports schemas; lbug emits into the default `main` schema. */ export declare function describeArtifacts(): { readonly graphFile: string; readonly temporalFile: string; readonly schemaName: string; }; /** Resolve the `/.codehub` directory (repo path may be relative). */ export declare function resolveRepoMetaDir(repoPath: string): string; /** * Resolve the canonical graph artifact path * (`/.codehub/graph.lbug`). The {@link openStore} factory derives * the sibling temporal artifact path automatically. */ export declare function resolveGraphPath(repoPath: string): string; /** Resolve the `/.codehub/meta.json` sidecar path. */ export declare function resolveMetaFilePath(repoPath: string): string; /** * Resolve the global `~/.codehub/registry.json` path. Accepts an optional * homedir override for testing. */ export declare function resolveRegistryPath(home?: string): string; //# sourceMappingURL=paths.d.ts.map