/** * This function adapts a rule evaluator to the existing style function interface. * After we have deprecated the style function, we can use the compiled rules directly * and pass a more complete evaluation context (variables, zoom, time, etc.). * * @param {Array} rules The rules. * @return {import('../../style/Style.js').StyleFunction} A style function. */ export function rulesToStyleFunction(rules: Array): import("../../style/Style.js").StyleFunction; /** * This function adapts a style evaluator to the existing style function interface. * After we have deprecated the style function, we can use the compiled rules directly * and pass a more complete evaluation context (variables, zoom, time, etc.). * * @param {Array} flatStyles The flat styles. * @return {import('../../style/Style.js').StyleFunction} A style function. */ export function flatStylesToStyleFunction(flatStyles: Array): import("../../style/Style.js").StyleFunction; /** * @typedef {function(EvaluationContext):Array