import type { LoggingFunction, LogHandler, LogLevelOption, RollupError } from '../types/misc';
export interface PluginContextMeta {
    rollupVersion: string;
    rolldownVersion: string;
    watchMode: boolean;
}
export interface MinimalPluginContext {
    readonly pluginName: string;
    error: (e: RollupError | string) => never;
    info: LoggingFunction;
    warn: LoggingFunction;
    debug: LoggingFunction;
    meta: PluginContextMeta;
}
export declare class MinimalPluginContextImpl {
    readonly pluginName: string;
    info: LoggingFunction;
    warn: LoggingFunction;
    debug: LoggingFunction;
    meta: PluginContextMeta;
    constructor(onLog: LogHandler, logLevel: LogLevelOption, pluginName: string);
    error(e: RollupError | string): never;
}
