import type { ObjectSchema } from '@becomes/purple-cheetah/types'; import { BCMSEventConfig, BCMSEventConfigMethod, BCMSEventConfigScope } from './config'; export interface BCMSEventHandler { (data: { scope: BCMSEventConfigScope | string; method: BCMSEventConfigMethod | string; payload: Payload; }): Promise; } export interface BCMSEvent { config: BCMSEventConfig; handler: BCMSEventHandler; } export declare const BCMSEventSchema: ObjectSchema;