export type ExternalImportRegistry = 'host' | 'npm' | 'pypi' | 'kern'; export type ExternalImportTarget = 'all' | 'ts' | 'python' | 'react' | 'node' | 'express' | 'cli' | 'lib' | 'mcp' | 'terminal' | 'ink' | 'vue' | 'nuxt' | 'nextjs' | 'native' | 'web' | 'fastapi'; export type CapabilityRuntime = 'node' | 'python' | 'browser' | 'host' | 'worker' | 'edge'; export type CapabilityEffect = 'network' | 'fs' | 'exec' | 'secret' | 'stream' | 'state' | 'auth' | 'cpu' | 'validation' | 'io'; export type CapabilitySerialization = 'json' | 'ndjson' | 'stream' | 'handle' | 'none'; export type ExternalImportTargetFamily = 'all' | 'ts' | 'python' | 'none'; export type ImportMetadataProps = { registry?: unknown; target?: unknown; }; export type MetadataNode = { type: string; props?: Record; }; export declare const VALID_IMPORT_REGISTRIES: string[]; export declare const VALID_IMPORT_TARGETS: string[]; export declare const TS_FAMILY_TARGETS: string[]; export declare const PYTHON_FAMILY_TARGETS: string[]; export declare const VALID_CAPABILITY_RUNTIMES: string[]; export declare const VALID_CAPABILITY_EFFECTS: string[]; export declare const VALID_CAPABILITY_SERIALIZATIONS: string[]; export declare const VALID_CAPABILITY_PROTOCOLS: string[]; export declare function splitCapabilityList(value: unknown): string[]; export declare function importRegistryOf(raw: unknown): ExternalImportRegistry; export declare function importTargetOf(rawTarget: unknown, rawRegistry: unknown): ExternalImportTarget; export declare function importTargetFamilyOf(rawTarget: unknown, rawRegistry: unknown): ExternalImportTargetFamily; export declare function shouldEmitImportForTarget(props: ImportMetadataProps, target: Exclude): boolean; export declare function validateImportMetadata(node: MetadataNode): string[]; export declare function validateCapabilityMetadata(node: MetadataNode): string[];