import type { Rspack } from '@rsbuild/core';
import { type PreparedDtsContext } from './dts.js';
import type { DtsGenOptions } from './index.js';
export type IsolatedDtsContext = Omit<DtsGenOptions, 'dtsExtension'> & PreparedDtsContext & {
    dtsExtension: string;
    bundlerConfig: Rspack.Configuration | undefined;
};
export declare function createIsolatedDtsContext(dtsGenOptions: DtsGenOptions, bundlerConfig: Rspack.Configuration | undefined): Promise<IsolatedDtsContext>;
export declare function processIsolatedDts(isolatedDtsContext: IsolatedDtsContext, options?: {
    logSuccess?: boolean;
}): Promise<void>;
