import type { HookHandler, Plugin } from 'vite'; type TransformHook = HookHandler>; type AsyncTransformHook = (this: ThisParameterType, ...args: Parameters) => Promise>>; export type TransformHookWrapper = (transform: AsyncTransformHook) => AsyncTransformHook; /** Mutates one concrete plugin to interpose on its transform while preserving hook metadata and plugin context. */ export declare function wrapPluginTransform(plugin: Plugin, wrapper: TransformHookWrapper): void; export {};