import type { OutputAsset, OutputBundle } from 'rollup';
import type { CollectViteProcessedCssAssetOptions } from './markers-imports.js';
export declare function restoreCssImportAtRules(source: string, filtered: string, file?: string): string;
export declare function removeCommentOnlyAtRules(css: string): string;
export declare function removeEmptyCssAtRules(css: string): string;
export declare function collectImportedBundleCssSources(bundle: OutputBundle, importedStyleFiles: Set<string>): string[];
export declare function collectBundleAssetFiles(bundle: OutputBundle): Set<string>;
export declare function resolveConfiguredCssEntryRootInjectionTarget(bundle: OutputBundle, options: Pick<CollectViteProcessedCssAssetOptions, 'cssPipelineStrategy' | 'createCssPipelineContext' | 'opts'>, sourceFile: string | undefined, outputFile: string): string | undefined;
export declare function findBundleAssetByOutputFile(bundle: OutputBundle, file: string): OutputAsset | undefined;
export declare function isCssImportOnlyBundleAsset(bundle: OutputBundle, file: string, css: string): boolean;
export declare function isCoveredViteGeneratedSourceAsset(file: string, existingAssetFiles: Set<string>, resolveViteProcessedCssOutputFile: ((file: string) => string | undefined) | undefined): boolean;
export declare function resolveViteGeneratedCssMarkerOutputFile(file: string, markerFile: string | undefined, existingAssetFiles: Set<string>, resolveViteProcessedCssOutputFile: ((file: string) => string | undefined) | undefined): string;
export declare function isSourceRootPrefixedOutputFile(file: string, outputFile: string): boolean;
