import * as sdk from '@botpress/sdk';
import { IntegrationInterfaceMappings } from '../interfaces';
import { parseHttpRequest, RawHttpRequest } from './http';
import { RegisteredIntegration, RegisteredInterface, RegisteredPlugin } from '../../types';
export type { RawHttpRequest } from './http';
export interface PatchHandlersOptions {
    integrations: RegisteredIntegration[];
    interfaces: RegisteredInterface[];
    interfacesMapping: IntegrationInterfaceMappings;
    plugins: RegisteredPlugin[];
}
type RequestHook = (request: RawHttpRequest, parsed: ReturnType<typeof parseHttpRequest>) => Promise<void> | void;
export declare const registerRequestHook: (hook: RequestHook) => void;
export declare const patchHandlers: (bot: sdk.Bot<any, any>) => any;
//# sourceMappingURL=handlers.d.ts.map