///
import { type JSONSchema4 } from 'json-schema';
import { InternalSchema } from '.';
export type StandardJSONSchema = JSONSchema4;
export type MongoDBJSONSchema = Pick & {
bsonType?: string | string[];
properties?: Record;
items?: MongoDBJSONSchema | MongoDBJSONSchema[];
anyOf?: MongoDBJSONSchema[];
};
export type ExpandedJSONSchema = StandardJSONSchema & {
['x-bsonType']?: string | string[];
['x-metadata']?: {
hasDuplicates?: boolean;
probability: number;
count: number;
};
['x-sampleValues']?: any[];
properties?: Record;
items?: ExpandedJSONSchema | ExpandedJSONSchema[];
anyOf?: ExpandedJSONSchema[];
};
export type JSONSchema = Partial & MongoDBJSONSchema;
export type AnyIterable = Iterable | AsyncIterable;
type AnySchema = InternalSchema | StandardJSONSchema | MongoDBJSONSchema | ExpandedJSONSchema;
export type SchemaConverterFn = (input: InputSchema, options: {
signal?: AbortSignal;
}) => Promise;
export {};