import { z } from 'zod'; import { type BridgeManager } from '../bridge/manager.js'; import { type BridgeHello } from '../bridge/protocol.js'; export declare const RUNTIME_INVENTORY_SCHEMA_VERSION = 1; export declare const RuntimeInventoryClassSchema: z.ZodObject<{ className: z.ZodString; runtimePaths: z.ZodDefault>; methods: z.ZodDefault>; }, z.core.$strip>; export declare const RuntimeInventorySnapshotSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<1>; generatedAt: z.ZodString; filter: z.ZodOptional; easyedaVersion: z.ZodOptional; bridgeVersion: z.ZodOptional; methodRegistryHash: z.ZodOptional; total: z.ZodNumber; classes: z.ZodArray>; methods: z.ZodDefault>; }, z.core.$strip>>; }, z.core.$strip>; export type RuntimeInventoryClass = z.infer; export type RuntimeInventorySnapshot = z.infer; export interface RuntimeInventoryCaptureConfig { enabled: boolean; filter?: string; outputPath: string; timeoutMs: number; } export interface RuntimeInventoryClassDiff { className: string; addedRuntimePaths: string[]; removedRuntimePaths: string[]; addedMethods: string[]; removedMethods: string[]; } export interface RuntimeInventoryDiff { status: 'same' | 'changed'; baseTotal: number; currentTotal: number; addedClasses: RuntimeInventoryClass[]; removedClasses: RuntimeInventoryClass[]; changedClasses: RuntimeInventoryClassDiff[]; summary: { addedClasses: number; removedClasses: number; changedClasses: number; addedMethods: number; removedMethods: number; }; } export declare function normalizeRuntimeInventoryClasses(classes: RuntimeInventoryClass[]): RuntimeInventoryClass[]; export declare function createRuntimeInventorySnapshot(input: { classes: RuntimeInventoryClass[]; filter?: string; hello?: BridgeHello | null; methodRegistryHash?: string; generatedAt?: string; }): RuntimeInventorySnapshot; export declare function parseBooleanEnv(value: string | undefined): boolean; export declare function parseRuntimeInventoryCaptureConfig(env: Record): RuntimeInventoryCaptureConfig; export declare function validateRuntimeInventoryCaptureConfig(config: RuntimeInventoryCaptureConfig): string[]; export declare function captureRuntimeInventorySnapshot(bridge: Pick, config: RuntimeInventoryCaptureConfig): Promise; export declare function diffRuntimeInventorySnapshots(base: RuntimeInventorySnapshot, current: RuntimeInventorySnapshot): RuntimeInventoryDiff; export declare function readRuntimeInventorySnapshot(path: string): Promise; export declare function writeRuntimeInventorySnapshot(path: string, snapshot: RuntimeInventorySnapshot): Promise; export declare function writeRuntimeInventoryDiff(path: string, diff: RuntimeInventoryDiff): Promise;