import { Variable, VariableTypes, VariablesState } from './types'; import { Component } from '../components/types'; declare type State = { runtime: { variables: VariablesState; }; }; export declare function getVariable(state: State, id: string): Variable | undefined; export declare function getVariableAsComponent(state: State, id: string): Component | undefined; export declare function getVariableByName(state: State, scopeAndName: string): Variable | undefined; export declare function getVariableState(state: State, id: string): Variable & { value: V; }; export {};