export type RawHttpRequest = {
    body?: string;
    query?: string;
    headers?: Record<string, string>;
    method: string;
    path?: string;
};
export type HttpRequest = {
    body: any;
    path: string;
    query: Record<string, string>;
    headers: Record<string, string>;
    method: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';
    bot: {
        id: string;
        userId: string;
        tags: Record<string, string>;
        configurationType: string;
        configuration: {
            id: string;
            createdAt: string;
            updatedAt: string;
            type: 'bot';
            payload: any;
        };
    };
    operation: 'register' | 'event_received' | 'ping' | 'action_triggered';
    type: 'register' | 'message_created' | 'workflow_update' | 'state_expired' | (string & {});
    webhookId?: string;
    raw: {
        body: string;
        query: string;
        headers: Record<string, string>;
        method: string;
    };
};
export declare function parseHttpRequest(req: RawHttpRequest): HttpRequest;
//# sourceMappingURL=http.d.ts.map