import SchemaId from './schemaId'; import { Schema, JsonSchemaObject, SchemaType } from './type'; export interface NormalizedSchema extends Schema { content: JsonSchemaObject; } export declare function getSubSchema(rootSchema: Schema, pointer: string, id?: SchemaId): Schema; export declare function getId(type: SchemaType, content: any): string | undefined; export declare function setId(type: SchemaType, content: any, id: string): void; export declare function searchAllSubSchema(schema: Schema, onFoundSchema: (subSchema: Schema) => void, onFoundReference: (refId: SchemaId) => void): void; export declare function selectSchemaType(content: any): { type: SchemaType; openApiVersion?: 2 | 3; };