/********************************************************************* * © Copyright IBM Corp. 2025 *********************************************************************/ import { IComponentIteratorRegistry } from './componentTraversalRegistry'; import { ISchema, ISchemaComponentConfig, ISchemaNodeWithMeta } from './types'; export interface INonEmptyStack extends Array { pop(): T; } export declare function isNonEmptyStack(arg: T[]): arg is INonEmptyStack; export declare function isSchema(arg: ISchema | ISchemaComponentConfig): arg is ISchema; export declare function traverseSchemaTree(schema: ISchema | ISchemaComponentConfig, componentIteratorRegistry: IComponentIteratorRegistry): IterableIterator;