import { ActionInterface, KafkaCallbackResponse, KafkaCallbackResponseType, XodJobType } from '../types';
export interface ReceiverSDKInterface {
    readonly responses: {
        readonly ok: KafkaCallbackResponseType;
        readonly created: KafkaCallbackResponseType;
        readonly badRequest: KafkaCallbackResponseType;
        readonly unprocessableEntity: KafkaCallbackResponseType;
        readonly notFound: KafkaCallbackResponseType;
        readonly internalServerError: KafkaCallbackResponseType;
    };
    registerCallback<T extends XodJobType = XodJobType>(callbackFunction: (message: T) => Promise<KafkaCallbackResponse>, eventType?: string, identifier?: string): void;
    getActionConfig(message: XodJobType): Promise<ActionInterface | null>;
    emitEventType<T extends XodJobType = XodJobType>(callbackFunction: (message: T) => Promise<KafkaCallbackResponse>): (message: T) => Promise<KafkaCallbackResponse>;
}
