/** * pot-sdk: Optional WASM Sandbox Integration (Layer 4) * * Dynamically imports `pot-sandbox` (optional peer dependency) and runs * any code blocks found in the output through QuickJS-WASM isolation. * * If pot-sandbox is not installed, this module silently returns no flags. * Install with: npm install pot-sandbox */ export interface SandboxCheckResult { ran: boolean; codeBlocksFound: number; flags: string[]; attestations: SandboxAttestation[]; } export interface SandboxAttestation { inputHash: string; outputHash: string; timestamp: string; sandboxType: string; digest: string; } /** * Extract fenced code blocks from a string. * Matches ```lang\n...\n``` and ```\n...\n``` */ export declare function extractCodeBlocks(text: string): string[]; /** * Run extracted code blocks through pot-sandbox (WASM isolation). * Requires pot-sandbox to be installed as a peer dependency. * Returns empty flags + ran=false if pot-sandbox is not available. */ export declare function runSandboxCheck(output: string, options?: { timeoutMs?: number; }): Promise; //# sourceMappingURL=sandbox.d.ts.map