import { type LlmProvider } from "./provider.js"; export interface ModalToken { id: string; secret: string; } /** * Accept the `":"` pair clai stores as one secret. * Deliberately prefix-agnostic (workspaces created before the `wk-`/`ws-` * prefixes, or RBAC-scoped tokens, still work) but strict about the shape so a * half-pasted credential fails loudly at `clai set` instead of at request time. */ export declare function parseModalToken(raw: string | undefined): ModalToken | undefined; export declare function modalSessionId(): string; /** Reset the generated sticky-session id (new chat / tests). */ export declare function resetModalSessionId(): void; export declare const modalProvider: LlmProvider;