import type { WithheldKind } from '../withheld-file.js'; interface InlineCssImportsContext { resourcePath: string; roots: string[]; projectPath: string; } interface PlacedCssImport { statement: string; file: string; } type CssImportSkipReason = 'unnamed-layer' | 'media-never' | 'media-not-joined' | 'unknown-function' | 'no-target'; interface SkippedCssImport extends PlacedCssImport { why: CssImportSkipReason; } interface InlinedCssImports { css: string; files: string[]; missing: string[]; unreadable: Array<{ request: string; file: string; from: string; reason: string; fix?: string; kind?: WithheldKind; }>; moved: PlacedCssImport[]; skipped: SkippedCssImport[]; answered: string[]; cycles: string[][]; } export declare function realPath(file: string): string; export declare function whyNotRead(file: string, projectRoot: string): { kind: WithheldKind; reason: string; } | undefined; type CssAddressPlace = 'import' | 'import-url' | 'url' | 'set'; export declare function rewriteCssUrls(css: string, rewrite: (request: string, where: CssAddressPlace) => string | undefined, doubleQuoted?: boolean, escapedToo?: boolean): string; export declare function inlineCssImports(source: string, context: InlineCssImportsContext): InlinedCssImports; interface LeftCssImport { statement: string; request: string; viaUrl: boolean; } export declare function readCssImports(css: string): LeftCssImport[]; export declare function isNamedByCssImport(css: string, request: string): boolean; export {};