/**
 * Type definitions for Codex SDK integration
 */
/** Map TAKT PermissionMode to Codex sandbox mode */
export function mapToCodexSandboxMode(mode) {
    const mapping = {
        readonly: 'read-only',
        edit: 'workspace-write',
        full: 'danger-full-access',
    };
    return mapping[mode];
}
//# sourceMappingURL=types.js.map