import type { OutputChunk } from 'rollup';
import type { BundleSnapshot } from '../bundle-state.js';
import type { RememberedCssSource } from './types.js';
export declare function isSfcStyleSourceFile(file: string): boolean;
export interface SfcStyleBlock {
    attrs: string;
    index: number;
    scoped: boolean;
    source: string;
}
export declare function extractSfcStyleBlocks(source: string): SfcStyleBlock[];
export declare function extractSfcStyleSources(source: string): string[];
export declare function hasSfcStyleSources(source: string): boolean;
export declare function resolveSfcStyleRequestFromKnownSource(sourceFile: string, sfcSource: string | undefined, styleSource: string, currentRequest?: string): string;
export declare function hasTailwindGenerationSource(source: string, options?: {
    allowRootDirectives?: boolean | undefined;
}): boolean;
export declare function resolveSfcStyleSourceFromOutputFile(outputFile: string, snapshot: BundleSnapshot, outputRoot: string, sourceRoot: string | undefined, cssMatcher: ((file: string) => boolean) | undefined, getSfcSource: ((file: string) => string | undefined) | undefined, debug: (format: string, ...args: unknown[]) => void): Promise<RememberedCssSource | undefined>;
export declare function normalizeSfcSourceFileForCompare(file: string): string;
export declare function collectChunkModuleIds(output: OutputChunk): string[];
export declare function resolveSourceStyleSourceFromOutputFile(outputFile: string, snapshot: BundleSnapshot, outputRoot: string, sourceRoot: string | undefined, getSourceStyleSource: ((file: string) => string | undefined) | undefined, getSourceStyleSources: (() => Iterable<[string, string]>) | undefined, configuredSourceEntries: Iterable<[string, string]> | undefined, debug: (format: string, ...args: unknown[]) => void): RememberedCssSource | undefined;
