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 { FlowrRDAFile } from './files/flowr-rda-file';
/**
 * This plugin provides support for R workspace files (`.rda`/`.RData`), exposing their top-level objects.
 * @see https://rdrr.io/r/base/load.html
 */
export declare class FlowrAnalyzerRdaFilePlugin extends FlowrAnalyzerFilePlugin {
    readonly name = "flowr-analyzer-rda-file-plugin";
    readonly description = "Reads RDA/RData workspace files into their contained R objects.";
    readonly version: SemVer;
    private readonly pattern;
    /**
     * Creates a new instance of the RDA file plugin.
     * @param filePattern - The pattern to identify RDA files, see {@link RdaFilePattern} for the default pattern.
     */
    constructor(filePattern?: RegExp);
    applies(file: PathLike): boolean;
    /**
     * Processes the given file, assigning it the {@link FileRole.Data} role.
     */
    process(_ctx: FlowrAnalyzerContext, file: FlowrFileProvider): FlowrRDAFile;
}
