/** * Built-in Node Components Registration * Registers all default FlowDrop node components with the registry. * * This module is automatically loaded when the library initializes, * ensuring all built-in node types are available without user action. */ import { type NodeComponentRegistration } from './nodeComponentRegistry.js'; /** * Source identifier for built-in FlowDrop components */ export declare const FLOWDROP_SOURCE = "flowdrop"; /** * Built-in FlowDrop node component registrations. * These are the default node types that ship with FlowDrop. */ export declare const BUILTIN_NODE_COMPONENTS: NodeComponentRegistration[]; /** * Alias mapping for type resolution. * Maps alternative type names to their canonical registration. */ export declare const BUILTIN_TYPE_ALIASES: Record; /** * Initialize the registry with built-in components. * This is called automatically when the library loads. * * Safe to call multiple times - will only register once. * * @example * ```typescript * // Usually not needed - called automatically * // But can be called manually if needed * registerBuiltinNodes(); * ``` */ export declare function registerBuiltinNodes(): void; /** * Check if built-in nodes have been registered. * * @returns true if registerBuiltinNodes() has been called */ export declare function areBuiltinsRegistered(): boolean; /** * Reset the registration state. * Primarily useful for testing. */ export declare function resetBuiltinRegistration(): void; /** * Get the canonical type for a given type string. * Handles aliases like "default" -> "workflowNode". * * @param type - The type string to resolve * @returns The canonical type string */ export declare function resolveBuiltinAlias(type: string): string; /** * Check if a type is a built-in FlowDrop type. * * @param type - The type to check * @returns true if this is a built-in type */ export declare function isBuiltinType(type: string): boolean; /** * Get all built-in type identifiers. * * @returns Array of built-in type strings */ export declare function getBuiltinTypes(): string[]; /** * Type for built-in node types. * Use this when you specifically need a built-in type. */ export type BuiltinNodeType = 'workflowNode' | 'simple' | 'square' | 'atom' | 'tool' | 'gateway' | 'note' | 'terminal' | 'idea'; /** * Array of built-in type strings for runtime validation. */ export declare const BUILTIN_NODE_TYPES: BuiltinNodeType[];