import { AbstractObjectSchema, ObjectSchemaI } from "./schema"; /** * Schema foor multiple options */ export declare class AnyOfObjectSchema extends AbstractObjectSchema { /** * Creates anyof schema * @returns a new instance of AnyOfObjectSchema */ static create(options: ObjectSchemaI[]): AnyOfObjectSchema; private schema; /** * Constructor */ constructor(options: ObjectSchemaI[]); /** * Sets default schema if any of the options won't fit * @param defaultSchema The default schema * @returns self */ withDefaultSchema(defaultSchema: ObjectSchemaI): AnyOfObjectSchema; /** * Sets the ID for this schema to be referenced by its children * for recursion * @param id The identifier of the schema node * @returns self */ withId(id: string): AnyOfObjectSchema; }