import type { CodexWorkspaceMarker, CodexAdapterActivationResult, CodexToolContract } from '../../types/codex.js';
/**
 * Detect whether the current environment is a Codex workspace.
 * Checks .openai/ directory, OPENAI_WORKSPACE_ID, CODEX_ENV, and CODEX_AGENT_ID.
 */
export declare function detectCodexEnvironment(projectPath: string): CodexWorkspaceMarker;
/**
 * Activate the Codex adapter on an MCP server.
 * Registers Codex-compatible tool contracts and wires the audit-log bridge.
 * Safe to call on non-Codex environments — returns inactive result without side effects.
 */
export declare function activateCodexAdapter(projectPath: string, toolContracts: CodexToolContract[]): CodexAdapterActivationResult;
/**
 * Bridge: append a structured event to the EU AI Act audit trail.
 * Used for adapter lifecycle events and RBAC decisions.
 * Never throws — audit must not affect tool execution.
 */
export declare function appendAuditEntry(projectPath: string, toolName: string, metadata: Record<string, unknown>): void;
//# sourceMappingURL=adapter.d.ts.map