import type { BloxPluginInterface, BloxContext } from 'vue-blox';
import type { Parser } from 'expr-eval';
/**
 * A key plugin that searches for keys that start with 'on:' and prepares the resulting prop to be a function that invokes the evaluation of the value string
 * when the event is emitted from the component
 */
declare class BloxPluginCompute implements BloxPluginInterface {
    parser: Parser;
    constructor(parser: Parser);
    run({ context, key, value, variables, buildContext }: {
        context: BloxContext;
        key: string;
        value: any;
        variables: any;
        buildContext: ({ view, variables }: {
            view: any;
            variables: any;
        }) => BloxContext | undefined;
    }): void;
    evaluate(value: any, variables: any): any;
}
declare function getPluginCompute({ parser }: {
    parser: Parser;
}): BloxPluginCompute;
export { BloxPluginCompute, getPluginCompute };
