import http from 'http'; import { URL } from 'url'; import type { HttpAdminContext } from '../context.js'; import type { OnThreadStop } from '../../core/types.js'; export declare function handleThreadsRoutes(req: http.IncomingMessage, res: http.ServerResponse, url: URL, pathname: string, method: string, adminContext: HttpAdminContext | null, onMessage: (chatJid: string, msg: any) => void, onThreadStop?: OnThreadStop): Promise; //# sourceMappingURL=threads.d.ts.map