/** Trusted pure interface; publishing a skill never grants admission to it. */ import { type SkillBundleEntry } from "../lib/skill-bundle.js"; import type { FrozenAdmission, PureExecutionContract } from "../sdk/execution/types.js"; export declare const PURE_DESCRIPTOR: Readonly<{ id: "regex-test.v1"; runtime: "bun"; adapter: "skills-input-json.v1"; input: Readonly<{ patternBytes: 512; textBytes: 4096; totalBytes: 8192; flags: "dgimsuvy"; }>; output: "regex-matches.v1"; secrets: "none"; egress: "deny"; maxDurationMs: 5000; maxMemoryMb: 512; maxCpuUnits: 256; stdoutBytes: 16384; stderrBytes: 8192; artifactsBytes: 0; }>; export declare const PURE_DESCRIPTOR_DIGEST: string; export declare const PURE_LIMITS: Readonly<{ maxDurationMs: 5000; maxMemoryMb: 512; maxCpuUnits: 256; maxArtifactsBytes: 0; maxConcurrency: 1; }>; export interface PureInput { pattern: string; text: string; flags: string; } export interface PureReviewedBundle { slug: string; version: string; sha256: string; tenantId: string; imageDigest: string; executionContract: PureExecutionContract; } /** JSON.parse alone silently discards duplicate keys, including escaped spellings. */ export declare function uniqueJson(text: string): unknown; export declare function pureInput(value: unknown): PureInput; export declare function assertPureContract(value: unknown): asserts value is PureExecutionContract; export declare function assertPureAdmission(a: FrozenAdmission): PureExecutionContract; export declare function inspectPureBundle(bytes: Uint8Array, contract: PureExecutionContract): Promise; export declare function validatePureOutput(stdout: string, input: PureInput): void;