import type { EvoPackManifest } from "../pack/pack.ts"; import { type EvoPackRegistryEntry, type EvoPackRegistryEntryTrust, type EvoRawFileSource, type EvoTrustedRegistrySigner } from "./registry.ts"; export declare const EVO_PACK_REGISTRY_MAX_BYTES: number; export declare const EVO_DISCOVERY_PACK_MANIFEST_MAX_BYTES: number; export interface EvoPackDiscoveryClientOptions { readRegistryIndex: (source: EvoRawFileSource) => Promise; fetchPackManifest: (source: EvoRawFileSource) => Promise; trustedSigners?: readonly EvoTrustedRegistrySigner[]; } export interface EvoDiscoveredPack { registrySource: EvoRawFileSource; entry: EvoPackRegistryEntry; trust: EvoPackRegistryEntryTrust; } /** * Read-only discovery over caller-provided transports. The client has no * ambient network or filesystem access: registry reads and manifest fetches * are explicit injected functions. */ export declare class EvoPackDiscoveryClient { private readonly readRegistryIndex; private readonly fetchManifestText; private readonly trustedSigners; constructor(options: EvoPackDiscoveryClientOptions); /** Read, validate, and merge registry indexes without downloading packs. */ discover(registrySources: readonly EvoRawFileSource[]): Promise; /** Fetch and cross-check a discovered pack's declared manifest metadata. */ fetchPackManifest(pack: EvoDiscoveredPack): Promise; } //# sourceMappingURL=client.d.ts.map