import { IJobs } from "./Jobs"; import { IQueuedJobs } from "./QueuedJobs"; export interface JobErrorResponse { error?: any; type?: T; } export interface JobRunResponse { data?: any; dataError?: JobErrorResponse; } export declare type JobFunctionParameters = T extends (...args: infer P) => any ? P : never; export declare type QueuedJobFunctionParameters = T extends (...args: infer P) => any ? P : never;