import { type StoreOwnerProcessEvidence, type StoreOwnerProcessProbe } from "./store-owner-process.js"; export { probeStoreOwnerIdentity } from "./store-owner-process.js"; export type { StoreOwnerLiveness, StoreOwnerProcessProbe } from "./store-owner-process.js"; export declare const STORE_OWNER_HOST_ENV = "AKK_STORE_OWNER_HOST_IDENTITY"; export interface StoreOwnerHostIdentity extends StoreOwnerProcessEvidence { readonly host_id: string; readonly owner_scope: "host" | "cli"; readonly instance_nonce: string; readonly created_at: string; } export interface StoreOwnerIdentity extends StoreOwnerHostIdentity { readonly schema: "agent-knock-knock/store-owner"; readonly version: 1; readonly store_dir: string; readonly store_kind: "persistent" | "ephemeral"; } export declare function isStoreOwnerHostIdentity(value: unknown): value is StoreOwnerHostIdentity; export declare function isStoreOwnerIdentity(value: unknown): value is StoreOwnerIdentity; /** Stamp the embedding process, never a short-lived CLI relay, as Host owner. */ export declare function withStoreOwnerHostEnvironment(environment: NodeJS.ProcessEnv, fallbackHostId?: string): NodeJS.ProcessEnv; export declare function canonicalStoreOwnerPath(storeDir: string): string; /** A temporary path alone never opts a Store into automatic owner recovery. */ export declare function storeOwnerKind(storeDir: string, environment?: NodeJS.ProcessEnv): "persistent" | "ephemeral"; export declare function captureStoreOwnerIdentity(storeDir: string, environment?: NodeJS.ProcessEnv, probe?: StoreOwnerProcessProbe): StoreOwnerIdentity;