import React from 'react'; /** Type for an extended component. Can fetch the original component using `.Original` */ export type XComponentType

> = React.ForwardRefExoticComponent & React.RefAttributes> & { Original: React.ComponentType>; isXComponent: boolean; }; export declare const XComponentMapContext: React.Context, React.ComponentType>>; export declare const XComponentMapProvider: React.Provider, React.ComponentType>>; /** * Use the replacement component for the provided component if it exists, or just return the provided component. * @param Component Component to check if there's a replacement for * @returns The replacement component if it exists, otherwise the original component */ export declare function useXComponent

>(Component: XComponentType

): React.ComponentType>; //# sourceMappingURL=XComponentMap.d.ts.map