import type { Action } from '../store/types.js'; /** * Identifies the component and surface that emitted an A2UI action. */ export interface ActionProps { id: string; surfaceId: string; dataContext?: string | undefined; } /** * Create a `sendAction` callback that resolves dynamic action payload values * and dispatches user events or function calls through the current processor. */ export declare function useAction(props: ActionProps): { sendAction: (action: Action) => Promise; };