import { Plugin, PartialMessage } from 'esbuild'; import { PreprocessorGroup } from 'svelte/types/compiler/preprocess/types'; import { SettingsOptions } from '..'; export declare type CssCacheObj = { code: string; map: string; time: number; priority: number; }; export declare type TCache = Map; export declare type TPreprocess = PreprocessorGroup | PreprocessorGroup[] | false; export interface IEsBuildPluginSvelte { type: 'ssr' | 'client'; svelteConfig: any; elderConfig: SettingsOptions; sveltePackages: string[]; startDevServer?: boolean; } export declare function writeCss({ styles, sourceMap, outputLocation, elderConfig }: { styles: any; sourceMap: any; outputLocation: any; elderConfig: any; }): Promise; declare function esbuildPluginSvelte({ type, svelteConfig, elderConfig, sveltePackages }: IEsBuildPluginSvelte): Plugin; export default esbuildPluginSvelte;