import type { FabricSchemaMode } from "../config.js"; import type { StateCertificateBinding, StateCertificateObserved, StateCertificateRequester } from "./types.js"; export declare const STATE_BINDING_MAX_KEYS = 16; export declare const STATE_BINDING_VALUE_MAX_CHARS = 512; /** Validate a caller binding; throws a descriptive error instead of dropping input. */ export declare const normalizeStateBinding: (value: unknown) => StateCertificateBinding | undefined; /** Lenient read-side parse: malformed stored bindings fold as absent. */ export declare const toStateBinding: (value: unknown) => StateCertificateBinding | undefined; export declare const toStateObserved: (value: unknown) => StateCertificateObserved | undefined; export declare const toStateRequester: (value: unknown) => StateCertificateRequester | undefined; export declare const toStateSchemaMode: (value: unknown) => FabricSchemaMode | undefined; /** * Observe HEAD and worktree cleanliness for `cwd`. Returns undefined outside a * git work tree or before the first commit; a failed status probe omits `dirty`. */ export declare const observeGitWorkspace: (cwd: string, signal?: AbortSignal) => Promise; //# sourceMappingURL=binding.d.ts.map