import type { H3Event } from 'h3'; export type ChatApiVersion = 'v1' | 'v2'; export declare function resolveChatBasePath(basePath: string, apiVersion: ChatApiVersion): string; export declare function mapVaultProxyPath(path: string): string; export declare function mapWorkspaceProxyPath(path: string): string; export declare function prefixProxyPath(prefix: string, path: string): string; export declare function proxyChatApiRequest(event: H3Event, targetPath: string, options?: { apiVersion?: ChatApiVersion; }): Promise; export declare function defineChatApiProxyHandler(resolveTargetPath: (path: string) => string, options?: { apiVersion?: ChatApiVersion; }): import("h3").EventHandler>;