import type { OutputBundle } from 'rollup';
import type { CssAssetMarkerMatcher, CssAssetResultRecorder } from './markers-imports.js';
import { postcss } from '@weapp-tailwindcss/postcss';
export { normalizeCssSignatureValue } from './scoped-tailwind-noise.js';
export declare function collectRootScopedComparableCssCoverage(cssSources: string[]): {
    rules: Set<string>;
    atRules: Set<string>;
    declarationsBySelector: Map<string, Set<string>>;
    normalizedRuleCss: Set<string>;
};
export type ComparableCssCoverage = ReturnType<typeof collectRootScopedComparableCssCoverage>;
export declare function prepareImportedCssCoverage(importedCssSources: string[]): {
    coverage: {
        rules: Set<string>;
        atRules: Set<string>;
        declarationsBySelector: Map<string, Set<string>>;
        normalizedRuleCss: Set<string>;
    };
    sources: string[];
} | undefined;
export declare function isRuleCoveredByRootCss(rule: postcss.Rule, coverage: ReturnType<typeof collectRootScopedComparableCssCoverage>): boolean;
export declare function removeScopedTailwindPreflightCss(css: string): string;
export declare function collectSingleViteGeneratedCssMarkerFile(rawSource: string): string | undefined;
export declare function shouldFilterRootGeneratedCssMarkerForScopedAsset(targetFile: string, markerFile: string, resolveViteProcessedCssOutputFile: ((file: string) => string | undefined) | undefined): boolean;
export declare function removeCssCoveredByRootStyleBundleSources(bundle: OutputBundle, file: string, css: string): string;
export declare function removeCssCoveredByRootStyleAssets(bundle: OutputBundle, options: {
    cssMatcher: (file: string) => boolean;
    debug?: ((format: string, ...args: unknown[]) => void) | undefined;
    includeTailwindGeneratedCssAssets?: boolean | undefined;
    isViteProcessedCssAsset?: CssAssetMarkerMatcher | undefined;
    onUpdate?: ((file: string, original: string, generated: string) => void) | undefined;
    recordCssAssetResult?: CssAssetResultRecorder | undefined;
    subpackageRoots?: Set<string> | undefined;
}): number;
