import { type GriffelRenderer } from '@griffel/core'; import type { Compilation, Compiler } from 'webpack'; import { type TransformResolverFactory } from './resolver/createResolverFactory.mjs'; type EntryPoint = Compilation['entrypoints'] extends Map ? I : never; export type GriffelCSSExtractionPluginOptions = { collectStats?: boolean; collectPerfIssues?: boolean; compareMediaQueries?: GriffelRenderer['compareMediaQueries']; /** * A custom comparator that orders "@container" query conditions, mirroring `compareMediaQueries`. * Defaults to the `compareMediaQueries` comparator. */ compareContainerQueries?: GriffelRenderer['compareContainerQueries']; /** Allows to override resolver used to resolve imports inside evaluated modules. */ resolverFactory?: TransformResolverFactory; /** Specifies if the CSS extracted from Griffel calls should be attached to a specific chunk with an entrypoint. */ unstable_attachToEntryPoint?: string | ((chunk: EntryPoint) => boolean); }; export declare class GriffelPlugin { #private; constructor(options?: GriffelCSSExtractionPluginOptions); apply(compiler: Compiler): void; } export {};