import { type Compiler } from '@rspack/core'; import type { IncludeFilesConfig } from '../types.js'; interface IncludeFilesOptions { include: IncludeFilesConfig | undefined; projectRoot: string; } type Verdict = { kind: 'ok'; output: string; source: string; isDir: boolean; minify: boolean; } | { kind: 'invalid'; output: string; reason: string; } | { kind: 'missing'; output: string; source: string; minify: boolean; }; export declare function minifyIncludedScript(input: Buffer, absoluteFilename: string): Promise; export declare function judgeIncludeFiles(include: IncludeFilesConfig | undefined, projectRoot: string): Verdict[]; export declare class IncludeFiles { static readonly name: string; private readonly options; constructor(options: IncludeFilesOptions); apply(compiler: Compiler): void; } export {};