import { ThreadData } from '../types'; import type { SessionStorage } from '../storage'; /** * Generates a new session ID */ export declare function generateSessionId(): string; /** * Creates the thread list adapter for multi-thread support */ export declare function createThreadListAdapter(currentThreadId: string, threadList: ThreadData[], setCurrentThreadId: (id: string) => void, setThreadList: React.Dispatch>, storage: SessionStorage, onThreadCreate?: (threadId: string) => void, onThreadSwitch?: (threadId: string) => void, onThreadArchive?: (threadId: string) => void, onThreadUnarchive?: (threadId: string) => void, onThreadDelete?: (threadId: string) => void, onThreadRename?: (threadId: string, name: string) => void): { threadId: string; threads: { id: string; threadId: string; title: string; status: "regular"; }[]; archivedThreads: { id: string; threadId: string; title: string; status: "archived"; }[]; onSwitchToNewThread: () => void; onSwitchToThread: (threadId: string) => void; onArchive: (threadId: string) => void; onUnarchive: (threadId: string) => void; onRename: (threadId: string, name: string) => void; onDelete: (threadId: string) => Promise; }; /** * Generates a default thread ID */ export declare function generateDefaultThreadId(): string; //# sourceMappingURL=threads.d.ts.map