import type { Plugin as VitePlugin } from 'vite';
import type { Context } from '../context.js';
/**
 * Replaces the `__HISTOIRE_DEV__` compile-time flags in app and story sources.
 * @param ctx The histoire context.
 */
export declare function createFlagsPlugin(ctx: Context): VitePlugin;
/**
 * Runs the server-side action of a command triggered from the app.
 * @param ctx The histoire context.
 */
export declare function createDevCommandsPlugin(ctx: Context): VitePlugin;
/**
 * Injects the source file name into built components so the app shows their
 * real name instead of `<Anonymous>`.
 * @param ctx The histoire context.
 */
export declare function createFileNamePlugin(ctx: Context): VitePlugin;
/**
 * Aliases the app dependencies to `@histoire/vendors` when running Histoire
 * itself from source (the examples context).
 */
export declare function createHistoireDevPlugin(): VitePlugin;
//# sourceMappingURL=extra-plugins.d.ts.map