export declare const CHROMIUM_EXTENSION_ROOT = "chrome-extension://__MSG_@@extension_id__/"; export declare const GECKO_EXTENSION_ROOT = "moz-extension://__MSG_@@extension_id__/"; export declare function injectedSheetRoot(browser: string): string | undefined; export declare function isInjectedSheet(assetName: string, runtimeEntries: string[]): boolean; export declare function rootedAtExtension(css: string, root?: string): string; export declare function noteNamedInjectedSheet(compilation: object, assetName: string): void; export declare function namedInjectedSheets(compilation: object): ReadonlySet; export declare function climbsOutOfSheetRoot(request: string, sheetName: string): boolean; export declare function rootedAtExtensionFrom(css: string, sheetName: string, root?: string): string; interface PageRelativeTarget { request: string; line: number; named: string; } export declare function firstPageRelativeTarget(css: string, sheetName: string, root?: string): PageRelativeTarget | undefined; export declare function noteInjectedSheetTarget(compilation: object, sheetName: string, target: string): void; export declare function injectedSheetTargets(compilation: object): ReadonlyMap>; export declare function notePublicInjectedSheet(compilation: object, assetName: string): void; export declare function publicInjectedSheets(compilation: object): ReadonlySet; interface SheetImport { start: number; end: number; line: number; request: string; layer?: string | true; supports?: string; media?: string; } export declare function leadingSheetImports(css: string): SheetImport[]; export interface SkippedSheetImport { sheet: string; line: number; request: string; reason: 'remote' | 'missing'; } export declare function inlinedInjectedSheet(css: string, sheetName: string, options: { root?: string; read: (assetName: string) => string | undefined; onSkipped?: (skipped: SkippedSheetImport) => void; }, ancestors?: readonly string[]): string; export {};