/**
 * Defence layer — top-level re-exports
 */
// Pipeline
export { runDefencePipeline, runDefencePipelineWithVerify } from './pipeline.js';
// Config & types
export { DEFAULT_DEFENCE_CONFIG } from './types.js';
// Input Sanitisation (Layer 1)
export { sanitiseInput } from './input-sanitisation/index.js';
// Trust
export { scoreSource, filterByTrust } from './trust/index.js';
// Firewall
export { analyzeFirewall } from './firewall/index.js';
// Sensitivity
export { classifySensitivity, redactContent, redactForDisplay } from './sensitivity/index.js';
// Fragmentation
export { analyzeFragmentation, storeFragmentationData } from './fragmentation/index.js';
// Semantic Analysis (Layer 3 — async/deep-scan path only; degrades gracefully)
export { analyzeSemanticSimilarity, SEMANTIC_SIMILARITY_THRESHOLD } from './semantic/index.js';
export { ATTACK_CORPUS } from './semantic/attack-corpus.js';
// Credential Leak Detection (Layer 6)
export { scanForCredentials, redactCredentials, DEFAULT_CREDENTIAL_CONFIG } from './credential-leak/index.js';
// Audit
export { logAudit, queryAuditLogs, getAuditStats } from './audit/index.js';
// Skill Scanner
export { scanSkill, scanSkillContent, discoverSkillFiles, detectFormat, detectFormatFromContent, parseSkillFile, readSkillFile } from './skill-scanner/index.js';
// Tool Response Scanner (read-path scan; pure, no DB handle required —
// the audit write is guarded by isDatabaseInitialized()). Exposed here so the
// OpenClaw realtime plugin can scan in-process instead of shelling out to the
// MCP server per message.
export { scanToolResponse, shouldScanToolResponse } from './tool-response-scanner.js';
// Iron Dome — Behaviour Protection Layer
export { activateIronDome, deactivateIronDome, getIronDomeStatus, isChannelTrusted, isActionAllowed, scanForInjection, checkPII, handleKillPhrase, IRON_DOME_PROFILES, DEFAULT_IRON_DOME_CONFIG, } from './iron-dome/index.js';
// Cloud
export { getCloudConfig, setCloudConfig, clearCloudConfigCache, getTrustedSkills, addTrustedSkill, removeTrustedSkill, getDeviceId, getDeviceName, getDefenceMode, setDefenceMode, isConfigTampered, getVerifyConfig, setVerifyConfig, getOpenClawAutoMemory, setOpenClawAutoMemory, getOpenClawMemoryConfig, setOpenClawMemoryConfig } from '../cloud/config.js';
export { syncToCloud } from '../cloud/sync.js';
export { syncQuarantineToCloud } from '../cloud/quarantine-sync.js';
export { submitVerification, pollVerification } from '../cloud/verify.js';
