import { type Any } from '@bufbuild/protobuf/wkt'; import { type Config, type ConfigJson, type Payload } from '../../../../../generated/capabilities/scheduler/cron/v1/trigger_pb'; import type { Trigger } from '../../../../../sdk/utils/triggers/trigger-interface'; import type { NoExcess } from '../../../../../sdk/utils/types/no-excess'; /** * Cron Capability * * Capability ID: cron-trigger@1.0.0 * Capability Name: cron-trigger * Capability Version: 1.0.0 */ export declare class CronCapability { /** The capability ID for this service */ static readonly CAPABILITY_ID = "cron-trigger@1.0.0"; static readonly CAPABILITY_NAME = "cron-trigger"; static readonly CAPABILITY_VERSION = "1.0.0"; trigger(config: NoExcess): CronTrigger; } /** * Trigger implementation for Trigger */ declare class CronTrigger implements Trigger { private readonly _capabilityId; private readonly _method; readonly config: Config; constructor(config: Config | ConfigJson, _capabilityId: string, _method: string); capabilityId(): string; method(): string; outputSchema(): import("@bufbuild/protobuf/codegenv2").GenMessage; configAsAny(): Any; /** * Transform the raw trigger output - override this method if needed * Default implementation returns the raw output unchanged */ adapt(rawOutput: Payload): Payload; } export {};