import { type ArrayOptions, ArrayType } from '../primitives/array/array.js'; import type { SchemaOptions } from '../primitives/base.js'; import { NullableType } from '../primitives/nullable/nullable.js'; import { OptionalType } from '../primitives/optional/optional.js'; import { type RefOptions, RefType } from '../primitives/ref/type.js'; import type { Schema } from '../types.js'; import { Node } from './node.js'; import type { Intrinsic } from './types.js'; export declare abstract class NodeTrait extends Node { array(options?: SchemaOptions): ArrayType; reference(options?: SchemaOptions): RefType>; nullable(): NullableType; optional(): OptionalType; compile({ formats }?: { formats?: boolean; }): Schema<(typeof this)['infer']>; }