import type { RestylePluginOptions } from './plugin-cache.js'; export type RestylePluginFactory = (options?: RestylePluginOptions) => unknown; export interface RestyleRawPlugin { name: 'restyle'; enforce: 'pre'; buildStart?: (this: { addWatchFile?: (id: string) => void; }) => void; resolveId: (id: string, importer?: string, options?: { isEntry?: boolean; }) => string | null; load: (id: string) => string | null; watchChange?: () => void; } export interface RestyleUnplugin { raw: (options?: RestylePluginOptions, meta?: unknown) => RestyleRawPlugin; vite: RestylePluginFactory; rollup: RestylePluginFactory; rolldown: RestylePluginFactory; webpack: RestylePluginFactory; rspack: RestylePluginFactory; esbuild: RestylePluginFactory; } export declare const restyleUnplugin: RestyleUnplugin; export default restyleUnplugin;