import { Context } from "inngest"; /** * The default context transformation function that mocks all step tools. Use * this in addition to your custom transformation function if you'd like to keep * this functionality. */ export declare const mockCtx: (ctx: Readonly) => Context.Any; /** * Creates a tiny mock invocation event used to replace or complement given * event data. */ export declare const createMockEvent: () => { id: string; name: string; data: {}; ts: number; }; /** * A deep partial, where every key of every object is optional. */ export type DeepPartial = { [K in keyof T]?: T[K] extends object ? DeepPartial : T[K]; }; /** * Ensures that all keys in the subset are present in the actual object and that * the values match. */ export declare const isDeeplyEqual: (subset: DeepPartial, actual: T) => boolean; type DeferredPromiseReturn = { promise: Promise; resolve: (value: T) => DeferredPromiseReturn; reject: (reason: any) => DeferredPromiseReturn; }; /** * Creates and returns Promise that can be resolved or rejected with the * returned `resolve` and `reject` functions. * * Resolving or rejecting the function will return a new set of Promise control * functions. These can be ignored if the original Promise is all that's needed. */ export declare const createDeferredPromise: () => DeferredPromiseReturn; export {};