import type { JobCache } from "../../cache"; import { Config } from "../../config"; import { Run } from "."; export interface RunAction { onComplete?: () => void; cache: JobCache; config: Config; } interface ConfigError extends Error { name: string; message: string; stack?: string; contents?: string; } declare const useRunner: ({ cache, config: inputConfig }: RunAction) => { config: Config; run?: Run; error: ConfigError; }; export default useRunner;