import type { CredentialsParams } from "../../types/public";
import type { ApiJob } from "../../types/api/api-jobs";
/**
 * Cancel a job.
 */
export declare function cancelJob(params: {
    /**
     * The namespace (username or organization name)
     */
    namespace: string;
    /**
     * The job ID
     */
    jobId: string;
    hubUrl?: string;
    /**
     * Custom fetch function to use instead of the default one, for example to use a proxy or edit headers.
     */
    fetch?: typeof fetch;
} & CredentialsParams): Promise<ApiJob>;
//# sourceMappingURL=cancel-job.d.ts.map