import type * as rolldown from "rolldown"; import type * as vite from "vite"; import type { BasePluginOptions } from "./options.js"; export interface PluginInput { shared?: Omit, "name">; rolldown?: Omit, "name">; vite?: Omit, "name">; } export interface NullablePluginOutput { rolldown: (options: BasePluginOptions) => rolldown.Plugin | null; vite: (options: BasePluginOptions) => vite.Plugin | null; } export interface PluginOutput { rolldown: (options: BasePluginOptions) => rolldown.Plugin; vite: (options: BasePluginOptions) => vite.Plugin; } export declare function createPlugin(pluginName: TName, make: (options: BasePluginOptions) => PluginInput): PluginOutput; export declare function createPlugin(pluginName: TName, make: (options: BasePluginOptions) => PluginInput | undefined): NullablePluginOutput; //# sourceMappingURL=factory.d.ts.map