import { type StaticType, type StaticDirection } from './static.mjs'; import { type TSchema, type TSchemaOptions } from './schema.mjs'; import { type TProperties } from './properties.mjs'; import { type TAny, type StaticAny } from './any.mjs'; import { type TUnknown } from './unknown.mjs'; import { type TRef } from './ref.mjs'; import { type TObject } from './object.mjs'; type CyclicEntry : TCyclic)> = Result; type CyclicContext = { [Key in Extract]: CyclicEntry; }; type CyclicTerminate = Result; type CyclicScope : CyclicContext> = Result; export type StaticCyclic ? Target extends { terminate: true; } ? StaticAny : StaticCyclic> : StaticType, This, Target>)> = Result; /** Represents a Cyclic type. */ export interface TCyclic extends TSchema { '~kind': 'Cyclic'; $defs: Defs; $ref: Ref; } /** Creates a Cyclic type. */ export declare function Cyclic($defs: Defs, $ref: Ref, options?: TSchemaOptions): TCyclic; /** Returns true if the given value is a TCyclic. */ export declare function IsCyclic(value: unknown): value is TCyclic; /** Extracts options from a TCyclic. */ export declare function CyclicOptions(type: TCyclic): TSchemaOptions; export {};