import { DictStore, HaysonVal, HDict, HGrid, OptionalHVal } from 'haystack-core'; import { UiElement, UiElementConstructorData, UiElementData } from '../UiElement'; /** * Resolves to a function that can be called to achieve side effects. */ export declare class FunctionElement extends UiElement { #private; constructor(data: UiElementConstructorData); } export type FunctionResult = (parameters: Parameters) => Promise; export type Parameters = Record | OptionalHVal | DictStore | undefined; export declare const makeParametersDict: (parameters: Record | OptionalHVal | DictStore | undefined) => HDict;