import { NodeValue } from '@lottiefiles/last';

/**
 * Copyright 2023 Design Barn Inc.
 */

declare type JSONValue = string | number | boolean | null | JSONObject | JSONArray;
interface JSONObject {
    [x: string]: JSONValue;
}
interface JSONArray extends Array<JSONValue> {
}
/**
 * Evaluates a Lottie AST node into a JavaScript value.
 * @returns The JavaScript value for the node.
 */
declare function evaluate(node: NodeValue): JSONValue;

export { type JSONArray, type JSONObject, type JSONValue, evaluate };
