import { PluginContext } from "rollup"; import { ResolvedConfig } from "vite"; export interface WordpressBlockJson { style: string | string[]; editorStyle?: string | string[]; viewStyle?: string | string[]; viewScript?: string | string[]; script?: string | string[]; } /** * transform * * Catches any CSS files imported into the block, normalises their filepath and then emits them as * separate files into the final build. * * Enables each Wordpress build folder to maintain its structure like style.css, editor-style.css et al. * * @see https://rollupjs.org/plugin-development/#transform */ export declare function transform(this: PluginContext, code: string, id: string, blockFile: WordpressBlockJson, config: ResolvedConfig): Promise;