import { PubSubMessage } from "./function"; import { CommandHandler, EventHandler } from "./handler"; /** * Register a command handler with a certain name */ export declare function registerCommand(name: string, loader: () => Promise): void; /** * Register a event handler with a certain name */ export declare function registerEvent(name: string, loader: () => Promise): void; export declare const bundle: (pubSubEvent: PubSubMessage, context: { eventId: string; }) => Promise; //# sourceMappingURL=bundle.d.ts.map