@builder.io/sdk-vue
Version:
Builder.io SDK for Vue
11 lines (10 loc) • 405 B
TypeScript
import type { BuilderContextInterface } from '../context/types';
import type { BuilderBlock } from '../types/builder-block';
type Actions = {
[index: string]: (event: Event) => any;
};
export declare function getBlockActions(options: {
block: BuilderBlock;
stripPrefix?: boolean;
} & Pick<BuilderContextInterface, 'localState' | 'context' | 'rootState' | 'rootSetState'>): Actions;
export {};