import type { RsbuildPluginAPI } from '@rsbuild/core';
import { getReactRouterManifestForDev, type ReactRouterManifestStats } from './manifest.js';
import type { RouteTransformExecutor } from './parallel-route-transforms.js';
import type { ReactRouterPerformanceProfiler } from './performance.js';
import type { RouteChunkConfig } from './route-chunks.js';
import type { PluginOptions, Route } from './types.js';
type ReactRouterManifest = Awaited<ReturnType<typeof getReactRouterManifestForDev>>;
type RegisterBuildOutputTransformsOptions = {
    api: RsbuildPluginAPI;
    resolvedServerOutput: 'module' | 'commonjs';
    performanceProfiler: ReactRouterPerformanceProfiler;
    getLatestServerManifest: () => ReactRouterManifest | null;
    getLatestServerManifestByBundleId: (bundleId: string) => ReactRouterManifest | undefined;
    routes: Record<string, Route>;
    pluginOptions: PluginOptions;
    getClientStats: () => ReactRouterManifestStats | undefined;
    appDirectory: string;
    getAssetPrefix: () => string;
    routeChunkOptions: Parameters<typeof getReactRouterManifestForDev>[5];
    routeTransformExecutor: RouteTransformExecutor;
    routeByFilePath: Map<string, Route>;
    routeChunkConfig: RouteChunkConfig;
    isBuild: boolean;
    splitRouteModules: boolean;
    ssr: boolean;
    isSpaMode: boolean;
    rootRoutePath: string;
    isDevHmrEnabled?: () => boolean;
};
export declare const registerBuildOutputTransforms: ({ api, resolvedServerOutput, performanceProfiler, getLatestServerManifest, getLatestServerManifestByBundleId, routes, pluginOptions, getClientStats, appDirectory, getAssetPrefix, routeChunkOptions, routeTransformExecutor, routeByFilePath, routeChunkConfig, isBuild, splitRouteModules, ssr, isSpaMode, rootRoutePath, isDevHmrEnabled, }: RegisterBuildOutputTransformsOptions) => void;
export {};
