import type { Module, Compiler, ModuleGraph, NormalModule } from 'webpack'; export type GetLogicModule = (module: Module, moduleGraph: ModuleGraph) => NormalModule | undefined; export interface HTMLSnapshotPluginOptions { outDir: string; render: (componentModule: any, component: any) => string | false; /** * By default, gets component logic related to the stylesheet being imported. E.g., you * have stylesheet `a.st.css`, which is imported by a few files. By default, this method * will attempt to find `a.tsx`. */ getLogicModule?: GetLogicModule; } export declare class HTMLSnapshotPlugin { private outDir; private render; private userGetLogicModule; constructor(options: Partial); apply(compiler: Compiler): void; private snapShotStylableModule; } //# sourceMappingURL=stylable-html-snapshot.d.ts.map