export interface TeamWorkerEnvIdentity { teamName: string; workerName: string; } export declare function readTeamWorkerEnvironment(env?: NodeJS.ProcessEnv): TeamWorkerEnvIdentity | null; export declare function readCanonicalInternalTeamWorkerEnvironment(env?: NodeJS.ProcessEnv): TeamWorkerEnvIdentity | null; /** * Structured result of a fully verified authoritative Team-worker context. * Every field is canonicalized and cross-checked against the worker identity, * config, manifest, pane, worktree, state-root, and leader-CWD metadata; an * external Team state root may contribute policy context only through this * evidence, never through unverified environment values. */ export interface AuthoritativeTeamWorkerEvidence { teamName: string; workerName: string; stateRoot: string; canonicalStateRoot: string; canonicalLeaderCwd: string; canonicalWorkerCwd: string; } export declare function resolveAuthoritativeTeamWorkerContext(cwd: string, options?: { requireWorkerPane?: boolean; env?: NodeJS.ProcessEnv; }): Promise; export interface ConductorPolicyRootResolution { cwd: string; valid: boolean; statePresent: boolean; externalStateRoot: boolean; /** True when validity was established by verified Team-worker evidence. */ teamWorkerBound: boolean; } export declare function resolveConductorPolicyRoot(stateDir: string, fallbackCwd: string, teamWorker?: AuthoritativeTeamWorkerEvidence | null): ConductorPolicyRootResolution; //# sourceMappingURL=worker-provenance.d.ts.map