import { type ZephyrBuildHooks } from 'zephyr-rsbuild-plugin'; import type { RspressUserConfig, RspressPlugin } from './types'; export interface ZephyrRspressOptions { hooks?: ZephyrBuildHooks; } /** * Creates a Zephyr plugin for Rspress that works with both v1 and v2 * * @example * ```ts * // rspress.config.ts (v1) * import { defineConfig } from 'rspress/config'; * import { withZephyr } from 'zephyr-rspress-plugin'; * * export default defineConfig({ * plugins: [withZephyr()], * }); * ```; * * @example * ```ts * // rspress.config.ts (v2) * import { defineConfig } from '@rspress/core'; * import { withZephyr } from 'zephyr-rspress-plugin'; * * export default defineConfig({ * plugins: [withZephyr()], * }); * ```; */ export declare function withZephyr(options?: ZephyrRspressOptions): RspressPlugin;