import { SynomemClient } from './client.js'; import type { ActorIdentity, SynomemConfig } from './types.js'; /** * The person at the keyboard of a local store. The filesystem owner is the * ultimate authority over a local store, so administrative commands (creating * agents, rebuilding, exporting) run as this actor rather than as an agent. */ export declare const LOCAL_OPERATOR: ActorIdentity; /** A store's config, or undefined when the home has no store yet. */ export declare function readSynomemConfig(explicitHome?: string, env?: NodeJS.ProcessEnv): SynomemConfig | undefined; /** * Creates the store's config (with a fresh persistent workspace identity) if it * does not exist, and returns it. Idempotent: an existing store keeps its * identity, which local context ids are derived from. */ export declare function ensureLocalStore(explicitHome?: string): SynomemConfig; /** The store's persistent workspace identity, creating the store if needed. */ export declare function localStoreWorkspaceId(explicitHome?: string): string; /** Opens (and initializes) a local store as one actor. The caller closes it. */ export declare function openLocalService(home: string | undefined, actor: ActorIdentity): Promise; export declare function openLocalOwnerService(home?: string): Promise; /** Filesystem-owner recovery path: no migration, normalization or writes. */ export declare function exportRawLocalEvents(home?: string, format?: 'json' | 'jsonl'): string; //# sourceMappingURL=backend.d.ts.map