import { CssType } from '@unocss-plugin-transform/core';

declare function compilerCss(css: string, lang: CssType): string | Promise<string>;

declare function transformAstro(code: string, _filepath?: string): Promise<string>;

declare function transformHtml(code: string, filepath?: string): Promise<string>;

declare function transformJsx(code: string, filepath?: string): Promise<string>;

declare function transformSvelte(code: string): Promise<string>;

declare function transformVue(code: string, isJsx?: boolean, filepath?: string): Promise<string>;

declare function prettierCode(code: string): string;

declare function transfromCode(code: string, filepath?: string, type?: string): Promise<string | undefined>;

declare function transformCss(style: string, code: string, media?: string, isJsx?: boolean, filepath?: string): Promise<string>;
declare function astFindTag(ast: any, tag?: string, deps?: number, combine?: string | undefined, add?: string | undefined, result?: any, siblings?: any): any;

declare function transformMedia(code: string, isJsx?: boolean): Promise<[string, (r: string) => string]>;

declare function tansformInlineStyle(code: string, isJsx?: boolean): string;

declare function transformStyleToUnocss(styles: string): [string, string[]];

declare function wrapperVue(template: string, css?: string): string;

export { astFindTag, compilerCss, prettierCode, tansformInlineStyle, transformAstro, transformCss, transformHtml, transformJsx, transformMedia, transformStyleToUnocss, transformSvelte, transformVue, transfromCode, wrapperVue };
