import type { ScheduleDefinition, ScheduleOptions } from '../core/types/schedule/index.js'; /** * Builds a schedule contract for an external scheduler. * * PURISTA core records schedule intent; production scheduling is performed by * an explicit external trigger or generated provider artifact. */ export declare class ScheduleDefinitionBuilder { private readonly name; private readonly description; constructor(name: string, description: string); /** * Mark this schedule as emitting a PURISTA custom event. * * @example * ```ts * service * .getScheduleBuilder('monthlyBillingCycle', 'Monthly billing trigger') * .emitEvent('billing.monthlyCycleDue', { * expression: { kind: 'cron', value: '0 2 1 * *' }, * }) * ``` */ emitEvent(eventName: string, options: ScheduleOptions): ScheduleDefinition; /** * Mark this schedule as enqueueing one durable queue job. * * @example * ```ts * service * .getScheduleBuilder('dailyReport', 'Queue daily report generation') * .enqueueQueue('reports.daily', { * expression: { kind: 'cron', value: '0 6 * * *' }, * }) * ``` */ enqueueQueue(queueName: string, options: ScheduleOptions): ScheduleDefinition; /** * Mark this schedule as invoking short, idempotent command trigger logic. * * @example * ```ts * service * .getScheduleBuilder('refreshCatalog', 'Refresh catalog cache') * .invokeCommand('refreshCatalog', { * expression: { kind: 'interval', everyMs: 300_000 }, * }) * ``` */ invokeCommand(commandName: string, options: ScheduleOptions): ScheduleDefinition; private createDefinition; } //# sourceMappingURL=ScheduleDefinitionBuilder.impl.d.ts.map