import { r as KlawConfig } from "../types.klaw-DO97PAYX.js";
import { a as CommitmentScope, i as CommitmentRecord, o as CommitmentStatus, r as CommitmentExtractionItem, s as CommitmentStoreFile, t as CommitmentCandidate } from "../types-u4C3W0pu.js";

//#region src/commitments/store.d.ts
declare function resolveCommitmentStorePath(storePath?: string): string;
declare function loadCommitmentStore(storePath?: string): Promise<CommitmentStoreFile>;
declare function saveCommitmentStore(storePath: string | undefined, store: CommitmentStoreFile): Promise<void>;
declare function listPendingCommitmentsForScope(params: {
  cfg?: KlawConfig;
  scope: CommitmentScope;
  nowMs?: number;
  limit?: number;
}): Promise<CommitmentRecord[]>;
declare function upsertInferredCommitments(params: {
  cfg?: KlawConfig;
  item: CommitmentExtractionItem;
  candidates: Array<{
    candidate: CommitmentCandidate;
    earliestMs: number;
    latestMs: number;
    timezone: string;
  }>;
  nowMs?: number;
}): Promise<CommitmentRecord[]>;
declare function listDueCommitmentsForSession(params: {
  cfg?: KlawConfig;
  agentId: string;
  sessionKey: string;
  nowMs?: number;
  limit?: number;
}): Promise<CommitmentRecord[]>;
declare function listDueCommitmentSessionKeys(params: {
  cfg?: KlawConfig;
  agentId: string;
  nowMs?: number;
  limit?: number;
}): Promise<string[]>;
declare function markCommitmentsAttempted(params: {
  cfg?: KlawConfig;
  ids: string[];
  nowMs?: number;
}): Promise<void>;
declare function markCommitmentsStatus(params: {
  cfg?: KlawConfig;
  ids: string[];
  status: Extract<CommitmentStatus, "sent" | "dismissed" | "expired">;
  nowMs?: number;
}): Promise<void>;
declare function listCommitments(params?: {
  cfg?: KlawConfig;
  status?: CommitmentStatus;
  agentId?: string;
}): Promise<CommitmentRecord[]>;
//#endregion
export { listCommitments, listDueCommitmentSessionKeys, listDueCommitmentsForSession, listPendingCommitmentsForScope, loadCommitmentStore, markCommitmentsAttempted, markCommitmentsStatus, resolveCommitmentStorePath, saveCommitmentStore, upsertInferredCommitments };