import type { EphemeralExecutionService } from '../execution/service.js'; import type { PartnerStore } from '../store.js'; import type { ScheduledPartnerTask } from './domain.js'; import { ScheduleContinuations } from './continuations.js'; export declare class PartnerSchedulerService { private readonly store; private readonly executor; private readonly timeZone; private readonly report; private timer; private readonly controllers; private readonly queued; private readonly jobs; private polling; private closed; readonly continuations: ScheduleContinuations; constructor(store: PartnerStore, executor: EphemeralExecutionService, timeZone: string, report?: (error: unknown) => void); start(): void; close(): Promise; list(): ScheduledPartnerTask[]; create(value: unknown, companionId?: string): Promise; update(id: string, value: unknown): Promise; remove(id: string): Promise; trigger(id: string): Promise; private tick; private poll; private run; private track; private execute; private recordResult; private requireCompanion; } export declare function nextOccurrence(schedule: ScheduledPartnerTask['schedule'], now: number, timeZone: string): number; //# sourceMappingURL=service.d.ts.map