import { r as DaoCoreConfig } from "../types.daocore-kp8IyikH.js";
import { a as CommitmentScope, i as CommitmentRecord, o as CommitmentStatus, r as CommitmentExtractionItem, s as CommitmentStoreFile, t as CommitmentCandidate } from "../types-B3lUN4pX.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?: DaoCoreConfig;
  scope: CommitmentScope;
  nowMs?: number;
  limit?: number;
}): Promise<CommitmentRecord[]>;
declare function upsertInferredCommitments(params: {
  cfg?: DaoCoreConfig;
  item: CommitmentExtractionItem;
  candidates: Array<{
    candidate: CommitmentCandidate;
    earliestMs: number;
    latestMs: number;
    timezone: string;
  }>;
  nowMs?: number;
}): Promise<CommitmentRecord[]>;
declare function listDueCommitmentsForSession(params: {
  cfg?: DaoCoreConfig;
  agentId: string;
  sessionKey: string;
  nowMs?: number;
  limit?: number;
}): Promise<CommitmentRecord[]>;
declare function listDueCommitmentSessionKeys(params: {
  cfg?: DaoCoreConfig;
  agentId: string;
  nowMs?: number;
  limit?: number;
}): Promise<string[]>;
declare function markCommitmentsAttempted(params: {
  cfg?: DaoCoreConfig;
  ids: string[];
  nowMs?: number;
}): Promise<void>;
declare function markCommitmentsStatus(params: {
  cfg?: DaoCoreConfig;
  ids: string[];
  status: Extract<CommitmentStatus, "sent" | "dismissed" | "expired">;
  nowMs?: number;
}): Promise<void>;
declare function listCommitments(params?: {
  cfg?: DaoCoreConfig;
  status?: CommitmentStatus;
  agentId?: string;
}): Promise<CommitmentRecord[]>;
//#endregion
export { listCommitments, listDueCommitmentSessionKeys, listDueCommitmentsForSession, listPendingCommitmentsForScope, loadCommitmentStore, markCommitmentsAttempted, markCommitmentsStatus, resolveCommitmentStorePath, saveCommitmentStore, upsertInferredCommitments };