import * as z from 'zod';
import type { PromptSpec } from './prompt';
export declare class PromptRegistry {
    private prompts;
    /** Register a prompt. Throws on duplicate name+version. */
    register<I extends z.ZodType>(p: PromptSpec<I>): this;
    /** List all registered prompts. */
    list(): PromptSpec<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>[];
    /** Get prompt by name; when version omitted, returns highest version. */
    get(name: string, version?: string): PromptSpec<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>> | undefined;
}
