import type { SetupWebpackV5ProcessAssetsHookOptions } from '../helpers.js';
import type { WebpackGeneratorUserCssSource } from './sources.js';
export declare function resolveWebpackCssAssetModuleResource(resource: string, issuer: {
    context?: string;
    resource?: string;
} | undefined, options: {
    appType?: SetupWebpackV5ProcessAssetsHookOptions['appType'] | undefined;
    cssMatcher: (file: string) => boolean;
}): string | undefined;
export declare function isSameWebpackCssSourceScope(options: {
    candidateSourceFile: string;
    currentSourceFile?: string | undefined;
    outputFile: string;
    resourcesByAsset: ReadonlyMap<string, ReadonlySet<string>>;
}): boolean;
export declare function shouldAppendCurrentWebpackAssetUserCss(options: {
    currentAssetHasBundlerGeneratedMarker: boolean;
    currentAssetHasUserCss: boolean;
    currentAssetLooksGenerated: boolean;
    registeredUserRawSource: WebpackGeneratorUserCssSource | undefined;
    shouldPreserveGeneratedWebAssetUserCss: boolean;
    sourceCssProcessed: boolean;
}): boolean;
export declare function createWebpackCurrentAssetUserRawSource(options: {
    currentAssetHasUserCss: boolean;
    currentAssetLooksGenerated: boolean;
    currentAssetUserCssSource: string;
    shouldAppendCurrentAssetUserCss: boolean;
    sourceCssProcessed: boolean;
}): WebpackGeneratorUserCssSource | undefined;
