import Logger from './Logger'; import Interval, { QueuedAction } from '..'; /** * This is effectively a namespace inside of Interval with a little bit of its own state. */ export default class Actions { #private; protected interval: Interval; constructor(interval: Interval, endpoint: string, logger: Logger, apiKey?: string); enqueue(slug: string, { assignee, params }?: Pick): Promise; dequeue(id: string): Promise; }