import type { RuntimeContext } from './types.js'; export type ParsedAuthorizationDecision = 'allowed' | 'denied'; export declare function parseAuthorizationDecision(value: unknown): ParsedAuthorizationDecision | null; export declare function parseRuntimeContext(value: unknown): RuntimeContext | null; export type ParsedSpawnResult = { readonly kind: 'spawned'; readonly spawnId: string; } | { readonly kind: 'target-mismatch'; } | { readonly kind: 'unavailable'; readonly runtime: string; }; export declare function parseSpawnResult(value: unknown, expectedTargetAgentId: string, expectedPermissionDigest: string, expectedResolvedGrantDigest: string): ParsedSpawnResult | null;