import { resolveInstalledRoleName } from '../subagents/tracker.js'; export declare const UNSUPPORTED_DOCUMENTED_LEADER_PROOF: 'unsupported_documented_leader_proof'; export declare const UNSUPPORTED_DOCUMENTED_LEADER_PRE_TOOL_USE: Readonly<{ hookSpecificOutput: Readonly<{ hookEventName: "PreToolUse"; permissionDecision: "deny"; permissionDecisionReason: "unsupported_documented_leader_proof: Codex hooks do not expose a documented, non-user-mintable root identity required for adapted Ralplan."; }>; }>; export declare const UNKNOWN_RALPLAN_ROLE_PRE_TOOL_USE: Readonly<{ hookSpecificOutput: Readonly<{ hookEventName: "PreToolUse"; permissionDecision: "deny"; permissionDecisionReason: "Ralplan role-intent denied: unknown_role."; }>; }>; type PreToolUseDenial = typeof UNSUPPORTED_DOCUMENTED_LEADER_PRE_TOOL_USE | typeof UNKNOWN_RALPLAN_ROLE_PRE_TOOL_USE; export interface Codex01445PreToolUseDependencies { resolveInstalledRoleName: typeof resolveInstalledRoleName; platform: NodeJS.Platform; } export declare function parseCodex01445AdaptedRoleIntentCommand(command: string, platform?: NodeJS.Platform): { role: string; } | null; export declare function evaluateCodex01445PreToolUse(payload: Record, overrides?: Partial): PreToolUseDenial | undefined; type OverlayKind = 'ralplan' | 'skill'; type FaultPoint = 'data-create' | 'data-write' | 'data-sync' | 'commit-create' | 'commit-write' | 'commit-sync' | 'directory-sync' | 'commit-final-write' | 'commit-final-sync'; /** @internal Test-only hooks; no CLI argument reaches these hooks. */ export declare const RALPLAN_NEUTRALIZE_TEST_SEAM: { fail?: (point: FaultPoint) => void | Promise; random?: () => Buffer; directorySync?: () => void | Promise; afterPin?: (directory: string) => void | Promise; onError?: (error: unknown) => void; platform?: NodeJS.Platform; darwinHelperMode?: 'failure' | 'malformed'; }; export declare function readNeutralizedRoutingOverlay(path: string, kind: OverlayKind): Promise | null>; export declare function neutralizeOwnedRoutingRalplan(cwd: string): Promise; export {}; //# sourceMappingURL=documented-leader-preflight.d.ts.map