import type { WsMessageSchema } from "@fiberplane/fpx-types"; import type { z } from "zod"; import type { WebhoncManagerConfig, WebhoncOutgoingResponse } from "./types.js"; type WsMessage = z.infer; type WithCorrelationId = T & { correlationId?: string; }; export declare function handleTraceCreated(): Promise; export declare function handleLoginSuccess(): Promise; export declare function handleConnectionOpen(message: Extract, config: WebhoncManagerConfig): Promise; type RequestIncomingMessage = WithCorrelationId>; export declare function handleRequestIncoming(message: RequestIncomingMessage, config: WebhoncManagerConfig, correlationId?: string): Promise; export declare const handleMessage: (message: WsMessage, config: WebhoncManagerConfig, correlationId?: string) => Promise | Promise<{ status: number; headers: Record; body: string; correlationId: string; }> | null; export {};