import { t as IRestApiContext } from "./types2.cjs"; import { MessageEventBusDestinationOptions } from "n8n-workflow"; //#region src/api/eventbus.ee.d.ts type ApiMessageEventBusDestinationOptions = MessageEventBusDestinationOptions & { id: string; }; declare function hasDestinationId(destination: MessageEventBusDestinationOptions): destination is ApiMessageEventBusDestinationOptions; declare function saveDestinationToDb(context: IRestApiContext, destination: ApiMessageEventBusDestinationOptions, subscribedEvents?: string[]): Promise; declare function deleteDestinationFromDb(context: IRestApiContext, destinationId: string): Promise; declare function sendTestMessageToDestination(context: IRestApiContext, destination: ApiMessageEventBusDestinationOptions): Promise; declare function getEventNamesFromBackend(context: IRestApiContext): Promise; declare function getDestinationsFromBackend(context: IRestApiContext): Promise; //#endregion export { hasDestinationId as a, getEventNamesFromBackend as i, deleteDestinationFromDb as n, saveDestinationToDb as o, getDestinationsFromBackend as r, sendTestMessageToDestination as s, ApiMessageEventBusDestinationOptions as t }; //# sourceMappingURL=eventbus.ee.d.cts.map