import { i as NodmixConfig } from "./types.nodmix-Dph4_Y30.js";
import { a as SessionAcpMeta, s as SessionEntry } from "./types-DfU5FRJS.js";

//#region src/acp/runtime/session-meta.d.ts
type AcpSessionStoreEntry = {
  cfg: NodmixConfig;
  storePath: string;
  sessionKey: string;
  storeSessionKey: string;
  entry?: SessionEntry;
  acp?: SessionAcpMeta;
  storeReadFailed?: boolean;
};
declare function readAcpSessionEntry(params: {
  sessionKey: string;
  cfg?: NodmixConfig;
  clone?: boolean;
}): AcpSessionStoreEntry | null;
declare function listAcpSessionEntries(params: {
  cfg?: NodmixConfig;
  env?: NodeJS.ProcessEnv;
  clone?: boolean;
}): Promise<AcpSessionStoreEntry[]>;
declare function upsertAcpSessionMeta(params: {
  sessionKey: string;
  cfg?: NodmixConfig;
  skipMaintenance?: boolean;
  takeCacheOwnership?: boolean;
  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 };