import { n as MsgContext } from "./templating-Pr1xaf5R.js";
import { r as GroupKeyResolution } from "./types-DT1z1ByP.js";
import { t as InboundLastRouteUpdate } from "./session.types-8me7i-2I.js";

//#region src/channels/session.d.ts
declare function recordInboundSession(params: {
  storePath: string;
  sessionKey: string;
  ctx: MsgContext;
  groupResolution?: GroupKeyResolution | null;
  createIfMissing?: boolean;
  updateLastRoute?: InboundLastRouteUpdate;
  onRecordError: (err: unknown) => void;
  trackSessionMetaTask?: (task: Promise<unknown>) => void;
}): Promise<void>;
//#endregion
export { recordInboundSession as t };