import { SpecContractRegistry } from '../registry';
import type { ProductIntentSpec } from './spec';
/**
 * Registry for ProductIntentSpec contracts.
 */
export declare class ProductIntentRegistry extends SpecContractRegistry<'product-intent', ProductIntentSpec> {
    constructor(items?: ProductIntentSpec[]);
    /**
     * Add or replace a spec by meta key and version.
     */
    set(spec: ProductIntentSpec): this;
    /**
     * Retrieve a product intent spec by runtime id.
     */
    getById<Context = unknown>(id: string): ProductIntentSpec<Context> | undefined;
    /**
     * Delete a spec by runtime id.
     */
    delete(id: string): boolean;
    /**
     * Delete a spec by contract key and version.
     */
    deleteByKey(key: string, version: string): boolean;
    /**
     * Clear all registered specs.
     */
    clear(): void;
}
