import { ReferenceObject, SchemaObject, SchemasObject } from 'openapi3-ts';
export declare type SchemaRef = ReferenceObject & {
    definitions: SchemasObject;
};
export declare function jsonToSchemaObject(json: SchemaObject, visited?: Map<SchemaObject, SchemaObject | SchemaRef>): SchemaObject | SchemaRef;
export declare function jsonOrBooleanToJSON(jsonOrBool: boolean | SchemaObject): SchemaObject;
