export declare const NETWORK_ANALYSIS_PROBE_SCHEMA: "aiwg.network-analysis.probe.v1"; export type ProbeToolName = 'tshark' | 'capinfos' | 'termshark'; export type ProbeStatus = 'supported' | 'partially_capable' | 'unsupported' | 'missing'; export type PathTrust = 'explicit-config' | 'trusted-search-path'; export interface NetworkAnalysisToolPaths { tshark?: string; capinfos?: string; termshark?: string; } export interface NetworkAnalysisProbeOptions { configuredPaths?: NetworkAnalysisToolPaths; trustedSearchPaths?: string[]; declaredProfilePaths?: string[]; declaredConfigPaths?: string[]; now?: () => Date; } export interface ProcessResult { exitCode: number | null; stdout: string; stderr: string; timedOut?: boolean; outputLimited?: boolean; } export interface ProbeHost { isExecutable(file: string): Promise; run(file: string, args: readonly string[], limits: ProbeCommandLimits): Promise; } export interface ProbeCommandLimits { timeoutMs: number; maxBufferBytes: number; } export interface VersionPolicy { verifiedAt: string; wiresharkStable: string; wiresharkOldStable: string; maintainedBranches: string[]; minimumSupportedTshark: string; termsharkLatest: string; termsharkOptionalRisk: 'aged-release-managed'; sources: string[]; } export interface ResolvedExecutable { path: string; trust: PathTrust; } export interface ProbeCommandRecord { args: string[]; exitCode: number | null; timedOut: boolean; outputLimited: boolean; maxBufferBytes: number; } export interface ToolFeatureDetection { outputFormats: string[]; statistics: string[]; fields: string[]; captureFormats: string[]; writeFormats: string[]; } export interface ToolProbe { name: ProbeToolName; status: ProbeStatus; required: boolean; path: string | null; trust: PathTrust | null; version: string | null; buildCapabilities: string[]; featureDetection: ToolFeatureDetection; commands: ProbeCommandRecord[]; diagnostics: string[]; } export interface NetworkAnalysisProbeReport { schema: typeof NETWORK_ANALYSIS_PROBE_SCHEMA; generatedAt: string; status: ProbeStatus; tools: Record; provenance: { configuredPaths: NetworkAnalysisToolPaths; trustedSearchPaths: string[]; declaredProfilePaths: string[]; declaredConfigPaths: string[]; pathPolicy: string; executionPolicy: string; versionPolicy: VersionPolicy; }; } export declare const CURRENT_NETWORK_ANALYSIS_VERSION_POLICY: VersionPolicy; export declare function createDefaultProbeHost(): ProbeHost; export declare function probeNetworkAnalysisTools(options?: NetworkAnalysisProbeOptions, host?: ProbeHost): Promise; //# sourceMappingURL=probe.d.ts.map