import { NodeDefinition } from '../../types/NodeDefinition'; import { ErrorNodeData } from './types'; export { ErrorNodeRenderer } from './node'; export { ERROR_NODE_TYPE_PREFIX, isErrorNodeType, getOriginalTypeFromErrorType, type ErrorNodeData, } from './types'; /** * Creates an error node definition for a given unknown type. * This is used as a fallback when a node's type is not found in the registry. * * @param originalType - The original type name that was not found * @returns A NodeDefinition configured to display an error state */ export declare const createErrorNodeDefinition: (originalType: string) => NodeDefinition; /** * Type for the fallback definition option. * - NodeDefinition: A fixed fallback definition to use for all unknown types * - (type: string) => NodeDefinition: A factory function that creates a definition based on the unknown type */ export type FallbackDefinition = NodeDefinition | ((type: string) => NodeDefinition); /** * Default fallback factory that creates error node definitions. * This is the standard fallback used when `fallbackDefinition: true` is specified. */ export declare const defaultFallbackFactory: (type: string) => NodeDefinition;