import { r as DaoCoreConfig } from "./types.daocore-z1fablj2.js";
import { a as SessionAcpMeta, o as SessionEntry } from "./types-DyE5xc5O.js";

//#region src/acp/runtime/session-meta.d.ts
type AcpSessionStoreEntry = {
  cfg: DaoCoreConfig;
  storePath: string;
  sessionKey: string;
  storeSessionKey: string;
  entry?: SessionEntry;
  acp?: SessionAcpMeta;
  storeReadFailed?: boolean;
};
declare function readAcpSessionEntry(params: {
  sessionKey: string;
  cfg?: DaoCoreConfig;
}): AcpSessionStoreEntry | null;
declare function listAcpSessionEntries(params: {
  cfg?: DaoCoreConfig;
  env?: NodeJS.ProcessEnv;
}): Promise<AcpSessionStoreEntry[]>;
declare function upsertAcpSessionMeta(params: {
  sessionKey: string;
  cfg?: DaoCoreConfig;
  mutate: (current: SessionAcpMeta | undefined, entry: SessionEntry | undefined) => SessionAcpMeta | null | undefined;
}): Promise<SessionEntry | null>;
//#endregion
export { upsertAcpSessionMeta as i, listAcpSessionEntries as n, readAcpSessionEntry as r, AcpSessionStoreEntry as t };