import { Hono } from "hono"; import type { Context } from "hono"; import { ProxyDataAdapter } from "../adapter"; import { HostCacheOptions, HostResolverCache } from "./cache"; import { HandlerRegistry } from "./registry"; export interface ProxyRouteHandlerSpec { type: string; options?: unknown; } export interface ProxyDataPlaneOptions { data: ProxyDataAdapter; cacheTtlMs?: number; cache?: HostCacheOptions; resolver?: HostResolverCache; registry?: HandlerRegistry; bindings?: Record; resolveHostTimeoutMs?: number; defaultHandlers?: ProxyRouteHandlerSpec[]; } export declare function createProxyDataPlaneHandler(options: ProxyDataPlaneOptions): (c: Context) => Promise; export declare function createProxyDataPlaneRouter(options: ProxyDataPlaneOptions): Hono;