import { Job } from './interfaces-1.0'; import { ActivatedJob } from './interfaces-grpc-1.0'; export declare function parseVariables(input: T): Omit & { variables: V; }; /** * Parse an incoming job and convert its variables and custom headers to JSON. */ export declare function parseVariablesAndCustomHeadersToJSON(response: ActivatedJob, inputVariableDto: new (...args: any[]) => Readonly, customHeadersDto: new (...args: any[]) => Readonly): Job; /** * Turn the `variables` field of a request from a JS object to a JSON string * This should be a key:value object where the keys will be variable names in Zeebe and the values are the corresponding values. * This function is used when sending a job back to Zeebe. */ export declare function stringifyVariables(request: T): V; type JSON = string | number | boolean | JSON[] | JSONDoc[]; interface JSONDoc { [key: string]: JSON; } export {};