import { type Prop, type Provider } from '@tempots/dom'; export interface ButtonAction { kind: 'button'; type: string; params: Record; humanFriendlyMessage: string; } export interface FormSubmitAction { kind: 'form'; type: string; formName: string; formState: Record; humanFriendlyMessage: string; } export type ActionEvent = ButtonAction | FormSubmitAction; export interface ActionContext { onAction?: (event: ActionEvent) => void; actions: Prop; } interface ActionContextOptions { onAction?: (event: ActionEvent) => void; } export declare const ActionContextProvider: Provider; export {};