import { MessagePayload } from "@codiac.io/codiac-messaging/dist/nats/client";
export type SocketAction = {
    action: string;
    correlationId: string;
    payload?: MessagePayload;
};
export type SocketActionHandler = (response: SocketAction) => void;
export type SocketActionHandlerAsync = (response: SocketAction) => Promise<void>;
