import { Inngest } from "inngest"; import type { EnqueueOptions, ExecutionEngine, ExecutionEngineSetup } from "@porulle/core"; type InngestFunction = ReturnType; type DebouncePeriod = "1s" | "2s" | "5s" | "10s" | "30s" | "1m"; export interface InngestExecutionEngineOptions { client?: Inngest; appId?: string; eventPrefix?: string; supersedesDebounce?: DebouncePeriod; } export declare class InngestExecutionEngine implements ExecutionEngine { readonly execution: { mode: "push"; }; readonly functions: InngestFunction[]; private readonly client; private readonly eventPrefix; private readonly supersedesDebounce; private setup; constructor(options?: InngestExecutionEngineOptions); register(setup: ExecutionEngineSetup): void; enqueue(taskSlug: string, input: Record, options: EnqueueOptions): Promise; private createFunction; private eventName; private requireSetup; } export {};