import type { JsxReplaceHandler } from '../types.js';
/**
* @description: Replaced a component that uses styled components with the same component using primitives.
* e.g.:
* import { ProductStyled, WrapperStyled } from './styled';
*
*
*
*
*
* to
*
* import { ProductPrimitive } from '@sitecore-search/ui';
*
*
*
*
*
* @param filePath
* @param fileContent
* @param handleJSXElementReplace
*/
export declare function convertStyledComponentToPlainComponent(filePath: string, fileContent: string, handleJSXElementReplace: JsxReplaceHandler, ignoreList?: Array): any;
export declare const styledToPlainConverter: (filePath: string, fileContent: string, ignoreList?: Array) => any;
export declare const styleToPlainHandler: JsxReplaceHandler;