import type { AgentRuntime } from "@elizaos/core"; import type { RouteHelpers, RouteRequestContext } from "./route-helpers"; export type KnowledgeRouteHelpers = RouteHelpers; export interface KnowledgeRouteContext extends RouteRequestContext { url: URL; runtime: AgentRuntime | null; } type ResolvedUrlTarget = { parsed: URL; hostname: string; pinnedAddress: string; }; type PinnedFetchInput = { url: URL; init: RequestInit; target: ResolvedUrlTarget; timeoutMs: number; }; type PinnedFetchImpl = (input: PinnedFetchInput) => Promise; export declare function __setPinnedFetchImplForTests(impl: PinnedFetchImpl | null): void; export declare function handleKnowledgeRoutes(ctx: KnowledgeRouteContext): Promise; export {}; //# sourceMappingURL=knowledge-routes.d.ts.map