@player-ui/player
Version:
21 lines • 915 B
TypeScript
import type { Binding } from "@player-ui/types";
import type { ExpressionHandler, ExpressionNode } from "./types";
import { Awaitable } from "./async";
/** Sets a value to the data-model */
export declare const setDataVal: ExpressionHandler<[Binding, any], any>;
/** Fetches a valid from the data-model */
export declare const getDataVal: ExpressionHandler<[Binding], unknown>;
/** Deletes a value from the model */
export declare const deleteDataVal: ExpressionHandler<[Binding], void>;
/** Conditional expression handler */
export declare const conditional: ExpressionHandler<[
ExpressionNode,
ExpressionNode,
ExpressionNode?
]>;
/**
* Internal await function
* This is technically registered as `await` but can't be called that due to conflicting with the keyword
*/
export declare const waitFor: ExpressionHandler<[Promise<any>], Awaitable<any>>;
//# sourceMappingURL=evaluator-functions.d.ts.map