import { FlowrAnalyzerFilePlugin } from './flowr-analyzer-file-plugin';
import { SemVer } from 'semver';
import type { PathLike } from 'fs';
import type { FlowrAnalyzerContext } from '../../context/flowr-analyzer-context';
import { type FlowrFileProvider } from '../../context/flowr-file';
import { FlowrNewsFile } from './files/flowr-news-file';
/**
 * This plugin provides support for R `NEWS` files.
 * @see https://rdrr.io/r/utils/news.html
 */
export declare class FlowrAnalyzerNewsFilePlugin extends FlowrAnalyzerFilePlugin {
    readonly name = "flowr-analyzer-news-file-plugin";
    readonly description = "This plugin provides support for NEWS files and extracts their content into version chunks.";
    readonly version: SemVer;
    private readonly pattern;
    /**
     * Creates a new instance of the NEWS file plugin.
     * @param filePattern - The pattern to identify NEWS files, see {@link NewsFilePattern} for the default pattern.
     */
    constructor(filePattern?: RegExp);
    applies(file: PathLike): boolean;
    process(_ctx: FlowrAnalyzerContext, file: FlowrFileProvider): FlowrNewsFile;
}
