/**
 * Typed errors for the OpenAPI registry (OPENAPI-1).
 *
 * Same shape as `runtime/subsystems/bridge/bridge-errors.ts` so consumers
 * can catch them with the same exception-filter pattern used elsewhere.
 */
/**
 * Thrown by `OpenApiRegistry.build()` when `@anatine/zod-openapi` is not
 * resolvable. The peer is declared optional (`peerDependenciesMeta`) so
 * consumer apps that don't care about OpenAPI still boot; the cost is a
 * deferred failure here on first `build()`.
 */
declare class OpenApiPeerDepMissingError extends Error {
    readonly name = "OpenApiPeerDepMissingError";
    constructor(message?: string);
}
/**
 * Thrown by `OpenApiRegistry.registerSchema(name, ...)` when `name` is
 * already registered. Silent overwrite would make debugging
 * double-registration bugs (e.g. two entity pipelines both emitting a
 * `User` DTO) painful; loud failure lets the mismatch surface at module
 * init where the stack trace is clear.
 */
declare class DuplicateSchemaError extends Error {
    readonly schemaName: string;
    readonly name = "DuplicateSchemaError";
    constructor(schemaName: string);
}

export { DuplicateSchemaError, OpenApiPeerDepMissingError };
