/**
 * Extracted HTTP handler logic for the AgentVault plugin.
 *
 * These handlers are shared between:
 * 1. The self-managed HTTP server in channel.ts (legacy/fallback path)
 * 2. OpenClaw's registerHttpRoute() managed routes (new path)
 *
 * Both entry points call the same handler functions, ensuring consistent
 * behavior regardless of how the route is served.
 */
import type { SecureChannel } from "./channel.js";
export interface HandlerResult {
    status: number;
    body: Record<string, unknown>;
}
/**
 * Handle POST /send — send a message (text, file, or room).
 */
export declare function handleSendRequest(parsed: Record<string, unknown>, channel: SecureChannel): Promise<HandlerResult>;
/**
 * Handle POST /action — send an action confirmation.
 */
export declare function handleActionRequest(parsed: Record<string, unknown>, channel: SecureChannel): Promise<HandlerResult>;
/**
 * Handle POST /decision — send a decision request to the owner.
 */
export declare function handleDecisionRequest(parsed: Record<string, unknown>, channel: SecureChannel): Promise<HandlerResult>;
/**
 * Handle GET /status — return channel health info.
 */
export declare function handleStatusRequest(channel: SecureChannel): HandlerResult;
//# sourceMappingURL=http-handlers.d.ts.map