import type { TriggerMetadata } from "@systemfsoftware/trigger.dev_core-v2"; import { Job } from "../job.js"; import { TriggerClient } from "../triggerClient.js"; import type { EventSpecification, EventSpecificationExample, Trigger } from "../types.js"; import { type TypeOf, ZodType, z } from "zod"; /** Configuration options for an InvokeTrigger */ type InvokeTriggerOptions = { /** A [Zod](https://trigger.dev/docs/documentation/guides/zod) schema that defines the shape of the event payload. * The default is `z.any()` which is `any`. * */ schema?: TSchema; examples?: EventSpecificationExample[]; }; export declare class InvokeTrigger implements Trigger, z.input>> { #private; constructor(options: InvokeTriggerOptions); toJSON(): TriggerMetadata; get event(): { name: string; title: string; source: string; examples: { name: string; id: string; icon?: string | undefined; payload?: any; }[]; icon: string; parsePayload: (rawPayload: unknown) => any; parseInvokePayload: (rawPayload: unknown) => any; }; attachToJob(triggerClient: TriggerClient, job: Job>>, any>): void; get preprocessRuns(): boolean; verifyPayload(): Promise<{ success: true; }>; } export declare function invokeTrigger(options?: InvokeTriggerOptions): Trigger, z.input>>; export {}; //# sourceMappingURL=invokeTrigger.d.ts.map