/** * state-lock-policy — resolves datastore/artifact write-lock timing from host env. * * Local interactive runs wait longer and recover stale locks; CI/non-interactive * runs fail fast by default. All overrides flow through {@link hostEnv}. */ import { type FileLockEvent, type Logger, type StateLockPolicy } from '@opensip-cli/core'; import type { DataStoreLockContext } from '@opensip-cli/datastore'; /** Resolve lock timing policy from host env and interactive/CI context. */ export declare function resolveStateLockPolicy(input?: { readonly commandName?: string; }): StateLockPolicy; export declare function createStateLockEventBridge(logger: Logger): (event: FileLockEvent) => void; /** Build datastore lock context for {@link DataStoreFactory.open}. */ export declare function buildDatastoreLockContext(logger: Logger, input?: { readonly commandName?: string; readonly cwd?: string; }): DataStoreLockContext; //# sourceMappingURL=state-lock-policy.d.ts.map