[] : Meta extends (...args: infer P) => infer R ? (...args: {
[K in keyof P]: $replace;
}) => $replace : Meta extends object ? {
[K in keyof Meta]: $replace;
} : Meta;
type MetadataType = Record | undefined;
export declare class $ZodRegistry {
_meta: Meta;
_schema: Schema;
_map: WeakMap>;
_idmap: Map;
add(schema: S, ..._meta: undefined extends Meta ? [$replace?] : [$replace]): this;
remove(schema: Schema): this;
get(schema: S): $replace | undefined;
has(schema: Schema): boolean;
}
export interface JSONSchemaMeta {
id?: string | undefined;
title?: string | undefined;
description?: string | undefined;
example?: unknown | undefined;
examples?: unknown[] | Record | undefined;
deprecated?: boolean | undefined;
[k: string]: unknown;
}
export interface GlobalMeta extends JSONSchemaMeta {
}
export declare function registry(): $ZodRegistry;
export declare const globalRegistry: $ZodRegistry;
export {};