import type { BotConfig } from "../../config/config.js"; import { type SessionAcpMeta, type SessionEntry } from "../../config/sessions/types.js"; export type AcpSessionStoreEntry = { cfg: BotConfig; storePath: string; sessionKey: string; storeSessionKey: string; entry?: SessionEntry; acp?: SessionAcpMeta; storeReadFailed?: boolean; }; export declare function resolveSessionStorePathForAcp(params: { sessionKey: string; cfg?: BotConfig; }): { cfg: BotConfig; storePath: string; }; export declare function readAcpSessionEntry(params: { sessionKey: string; cfg?: BotConfig; }): AcpSessionStoreEntry | null; export declare function listAcpSessionEntries(params: { cfg?: BotConfig; }): Promise; export declare function upsertAcpSessionMeta(params: { sessionKey: string; cfg?: BotConfig; mutate: (current: SessionAcpMeta | undefined, entry: SessionEntry | undefined) => SessionAcpMeta | null | undefined; }): Promise;