import { AgentsRunDatabaseClient } from "../../db/runtime/runtime-client.js";

//#region src/data-access/runtime/scheduledTriggerUsers.d.ts
declare const getScheduledTriggerUsers: (db: AgentsRunDatabaseClient) => (params: {
  tenantId: string;
  scheduledTriggerId: string;
}) => Promise<{
  tenantId: string;
  scheduledTriggerId: string;
  userId: string;
  createdAt: string;
}[]>;
declare const createScheduledTriggerUser: (db: AgentsRunDatabaseClient) => (params: {
  tenantId: string;
  scheduledTriggerId: string;
  userId: string;
}) => Promise<{
  createdAt: string;
  tenantId: string;
  userId: string;
  scheduledTriggerId: string;
}>;
declare const deleteScheduledTriggerUser: (db: AgentsRunDatabaseClient) => (params: {
  tenantId: string;
  scheduledTriggerId: string;
  userId: string;
}) => Promise<void>;
declare const setScheduledTriggerUsers: (db: AgentsRunDatabaseClient) => (params: {
  tenantId: string;
  scheduledTriggerId: string;
  userIds: string[];
}) => Promise<void>;
declare const getScheduledTriggerUserCount: (db: AgentsRunDatabaseClient) => (params: {
  tenantId: string;
  scheduledTriggerId: string;
}) => Promise<number>;
declare const getTriggerIdsWithUser: (db: AgentsRunDatabaseClient) => (params: {
  tenantId: string;
  projectId: string;
  userId: string;
}) => Promise<{
  id: string;
}[]>;
declare const removeUserFromProjectScheduledTriggers: (db: AgentsRunDatabaseClient) => (params: {
  tenantId: string;
  projectId: string;
  userId: string;
}) => Promise<void>;
declare const getScheduledTriggerUsersBatch: (db: AgentsRunDatabaseClient) => (params: {
  tenantId: string;
  scheduledTriggerIds: string[];
}) => Promise<Map<string, string[]>>;
//#endregion
export { createScheduledTriggerUser, deleteScheduledTriggerUser, getScheduledTriggerUserCount, getScheduledTriggerUsers, getScheduledTriggerUsersBatch, getTriggerIdsWithUser, removeUserFromProjectScheduledTriggers, setScheduledTriggerUsers };