import { TcbContext } from './types'; export declare function parseBotId(url: string): string; export declare function parseConversationId(url: string): string; export declare function parseBotTag(url: string): string; export declare function parseApiName(url: string): string | null; export declare function parseWxEnvParam(ctx: TcbContext): { triggerSrc: string; wxVerify: boolean; }; export declare function parseEnvFromHeader(ctx: TcbContext, key: string): Record; export declare function parseQueryFromCtx(ctx: TcbContext): Record; export declare function parseQuery(url: string): Record; export declare function genRecordId(): string; /** * 生成随机字符串 */ export declare function genRandomStr(length: number): string; /** * 递归转换对象的所有key为小驼峰格式 */ export declare function transformKeysToCamelCase(obj: any): any;