import { AsyncSeriesWaterfallHook } from 'tapable'; import type { HeftConfiguration, IHeftTaskSession, IHeftPlugin } from '@rushstack/heft'; import { type ICssOutputFolder } from './SassProcessor'; export interface ISassConfigurationJson { srcFolder?: string; generatedTsFolder?: string; cssOutputFolders?: (string | ICssOutputFolder)[]; secondaryGeneratedTsFolders?: string[]; exportAsDefault?: boolean; fileExtensions?: string[]; nonModuleFileExtensions?: string[]; silenceDeprecations?: string[]; excludeFiles?: string[]; doNotTrimOriginalFileExtension?: boolean; preserveIcssExports?: boolean; } /** * @public */ export interface ISassPluginAccessor { readonly hooks: ISassPluginAccessorHooks; } /** * @public */ export interface ISassPluginAccessorHooks { /** * Hook that will be invoked after the CSS is generated but before it is written to a file. */ readonly postProcessCss: AsyncSeriesWaterfallHook; } export default class SassPlugin implements IHeftPlugin { accessor: ISassPluginAccessor; /** * Generate typings for Sass files before TypeScript compilation. */ apply(taskSession: IHeftTaskSession, heftConfiguration: HeftConfiguration): void; } //# sourceMappingURL=SassPlugin.d.ts.map