import { OnModuleInit, OnModuleDestroy } from '@nestjs/common'; import { DiscoveryService } from '@nestjs/core'; import { Client } from '@temporalio/client'; import { TemporalOptions, ScheduleCreationOptions, ScheduleCreationResult, ScheduleRetrievalResult, ScheduleServiceStatus, ScheduleServiceHealth, ScheduleServiceStats } from '../interfaces'; import { TemporalMetadataAccessor } from './temporal-metadata.service'; export declare class TemporalScheduleService implements OnModuleInit, OnModuleDestroy { private readonly options; private readonly client; private readonly discoveryService; private readonly metadataAccessor; private readonly logger; private scheduleClient?; private scheduleHandles; private isInitialized; constructor(options: TemporalOptions, client: Client | null, discoveryService: DiscoveryService, metadataAccessor: TemporalMetadataAccessor); private extractErrorMessage; private normalizeScheduleOptions; onModuleInit(): Promise; onModuleDestroy(): Promise; private initializeScheduleClient; private discoverAndRegisterSchedules; private registerScheduledWorkflow; private buildScheduleSpec; private buildWorkflowOptions; private parseInterval; createSchedule(options: ScheduleCreationOptions): Promise; getSchedule(scheduleId: string): Promise; isHealthy(): boolean; getScheduleStats(): ScheduleServiceStats; getStatus(): ScheduleServiceStatus; getHealth(): ScheduleServiceHealth; private ensureInitialized; }