import { r as MsgContext } from "./templating-CiqXRVFJ.js";
import { n as GroupKeyResolution } from "./types-YH_l4lZR.js";
import { t as InboundLastRouteUpdate } from "./session.types-C1CK-XN6.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 };