import type { ProcessedRequest, StandardizedRequest } from '../types/standardized.js';
import type { JsonObject } from '../types/json.js';
export interface HubProcessNodeResult {
    success: boolean;
    metadata: {
        node: string;
        executionTime: number;
        startTime: number;
        endTime: number;
        dataProcessed?: {
            messages: number;
            tools: number;
        };
    };
    error?: {
        code?: string;
        message: string;
        details?: JsonObject;
    };
}
export declare function buildProcessedRequest(request: StandardizedRequest): ProcessedRequest;
export declare function buildSuccessResult(startTime: number, processedRequest: ProcessedRequest): HubProcessNodeResult;
export declare function buildErrorResult(startTime: number, error: unknown): HubProcessNodeResult;
