export type ResourceAccess = "read-only" | "read-write"; export interface CanonicalLeaseKey { resourceDomainId: string; canonicalPrefix: string; } export interface ExecutionOwner { runId: string; phaseId: string; attemptId: string; unitId: string; ancestry: string[]; } export interface LeaseRequest { key: CanonicalLeaseKey; access: ResourceAccess; owner: ExecutionOwner; } export interface ScopedContentEvidence { canonicalPrefix: string; scopeDigest: string; /** Stable declaration id when this scope originates from Trusted Effects. */ effectId?: string; /** Capability binding that resolved and authorized this exact scope. */ capabilityBindingId?: string; beforeContentId?: string; afterContentId?: string; } export type VersionCommitMode = "content-snapshot" | "generation-only" | "unavailable"; export type ExternalMutationModel = "taskflow-managed" | "externally-mutable"; export declare function normalizeCanonicalPrefix(prefix: string): string; export declare function normalizeLeaseKey(key: CanonicalLeaseKey): CanonicalLeaseKey; export declare function canonicalPrefixContains(parent: string, child: string): boolean; export declare function canonicalLeaseKeysOverlap(a: CanonicalLeaseKey, b: CanonicalLeaseKey): boolean; export declare function compareLeaseKeys(a: CanonicalLeaseKey, b: CanonicalLeaseKey): number; export declare function sameExecutionOwner(a: ExecutionOwner, b: ExecutionOwner): boolean; export declare function cloneExecutionOwner(owner: ExecutionOwner): ExecutionOwner; /** Reduce same-domain writable scopes to a deterministic minimal prefix cover. */ export declare function minimalCanonicalScopeCover(scopes: readonly CanonicalLeaseKey[]): CanonicalLeaseKey[]; export declare function sameCanonicalScopes(a: readonly CanonicalLeaseKey[], b: readonly CanonicalLeaseKey[]): boolean; //# sourceMappingURL=types.d.ts.map