import './channels/index.js'; import { AvailableProject, NewMessage, RegisteredProject } from './core/types.js'; export interface ChannelOpts { onMessage: (chatJid: string, msg: NewMessage) => void; onChatMetadata: (chatJid: string, timestamp: string, name?: string, channel?: string, isGroup?: boolean) => void; registeredProjects: () => Record; onGroupRegistered: (jid: string, group: RegisteredProject) => void; onThreadStop?: (agentId: string, threadId: string, actor?: string) => { ok: boolean; code: string; message: string; chatJid?: string; }; } export declare function captureCodexStreamPayload(input: { agentId: string; threadId: string; runtimeThreadId?: string | null; payload: Record; }): void; export declare function resolveThreadChannel(chatJid: string, existingChannel?: string): string; export declare function resolveStoredThreadChannel(chatJid: string): string | undefined; export declare function resolveRoutingChannel(chatJid: string): string; export declare function getAvailableProjects(): AvailableProject[]; /** @internal - for tests only. */ export declare function _setRegisteredProjects(groups: Record): void; export interface SupenDaemonConfig { productName?: string; dataDir?: string; } export declare class SupenDaemon { constructor(config?: SupenDaemonConfig); start(): Promise; } //# sourceMappingURL=index.d.ts.map