import { Dependencies, ValidationError } from '../agent-project/types.js';
import { InterfaceDefinition, ParsedInterface, InterfaceRef } from './types.js';
import { type CatalogClientOptions } from '../dependencies/catalog/client-factory.js';
export interface InterfaceManagerOptions extends CatalogClientOptions {
    noCache?: boolean;
}
/**
 * Loads and validates interfaces.
 *
 * Since WS4 this is a thin shim over the unified {@link CatalogService} /
 * {@link InterfaceCatalogSource} (fetch-by-ref only — interfaces are never
 * listed/enumerated; the project's interface set is fixed by `BUILTIN_INTERFACES`).
 */
export declare class InterfaceManager {
    private readonly service;
    constructor(options?: InterfaceManagerOptions);
    loadInterfaces(dependencies: Dependencies): Promise<{
        interfaces: ParsedInterface[];
        errors: ValidationError[];
        warnings: ValidationError[];
    }>;
    /** Fetch an interface definition from API or cache. */
    fetchInterface(ref: InterfaceRef): Promise<InterfaceDefinition>;
    private validateInterface;
    getCacheStats(): Promise<{
        count: number;
        sizeBytes: number;
    }>;
    clearCache(): Promise<void>;
}
//# sourceMappingURL=manager.d.ts.map