/** * @desc Replace the path of the local components for a provided one * e.g.: * Consider the following imports * import Component1 from '../../../components/styled/Component1/index.js'; * import Component2 from '../../../components/styled/Component2/index.js'; * will be replaced to * import Component1 from './Component1/index.js'; * import Component2 from './Component2/index.js'; * @param code source code of the template file */ export declare function replaceLocalComponentsImports(code: string): string; /** * @desc: Get the components imported on the template files. * e.g.: * Consider the following imports * import Component1 from '../../../components/styled/Component1/index.js'; * import Component2 from '../../../components/styled/Component2/index.js'; * * will return ['Component1', 'Component2'] * * @param code source code of the template. * @param isTailwind */ export declare function getLocalComponents(code: string, isTailwind?: boolean): string[]; export declare function replaceLocalTailwindComponentsImports(code: string): string;