export declare const COMPONENT_NAMESPACE_KEY = "__BlueComponent__"; export declare const CARD_TYPE: string[]; export declare const CONTROL_TYPE: string[]; export declare const CHAT_TYPE: string[]; /** * Determines if a Component is a React component. * * @param {React.Component} Component The component. * @returns {boolean} The result. */ export declare const isReactComponent: (Component: any) => any; /** * Retrieves the internal Blue component namespace/key. * * @param {React.Component} Component The component. * @returns {string} The namespace value. */ export declare const getComponentName: (Component: any) => string; /** * Retrieves a list of namespace registered Blue components. * * @returns {Array} The registered namespaces. */ export declare const getRegisteredComponents: () => string[]; /** * Secretly reset internal namespace registry. */ export declare const __clearRegisteredComponents: () => void; /** * Decorator (HOC) that sets the internal Blue component namespace/key. * * @param {string} The namespace value. * @param {React.Component} Component The component. * @returns {React.Component} The updated component. */ export declare const namespaceComponent: (key: string) => (Component: any) => any; /** * Determines if the internal Blue namespace matches a key. * * @param {React.Component} Component The component. * @param {string} The namespace value. * @returns {boolean} The match result. */ export declare const isComponentNamed: (Component: any, key: string) => boolean; /** * Determines if the provided Component is a card type. * * @param {React.Component} Component The component. * @returns {boolean} The result. */ export declare const isComponentTypeCard: (Component: any) => boolean; /** * Determines if the provided Component is a control type. * * @param {React.Component} Component The component. * @returns {boolean} The result. */ export declare const isComponentTypeControl: (Component: any) => boolean; /** * Determines if the provided Component is a Chat type. * * @param {React.Component} Component The component. * @returns {boolean} The result. */ export declare const isComponentTypeChat: (Component: any) => boolean; /** * Attempts to retrieve a React key from a child when iterating. * @param {React.Component} Component The component. * @param {number} index The iterating index value. * @param {string} fallback A fallback value. * @returns {string} The React cnild key. */ export declare const getComponentKey: (Component: any, index?: number | undefined, fallback?: string | undefined) => any;