import { Job } from '../../types/Job';
import Endpoint from '../Endpoint';
/**
 * Communicate with the `/campaigns/:campaignId/jobs` sub-endpoint.
 *
 * Accessed via `client.campaigns.jobs`.
 */
export default class CampaignJobsEndpoint extends Endpoint {
    /**
     * Constructor.
     *
     * @param parent The parent `CampaignsEndpoint` whose `req`, `do`, and `qb` are
     *   reused.
     */
    constructor(parent: Endpoint);
    /**
     * Returns the jobs for a campaign.
     *
     * @param campaignId The ID of the campaign.
     * @returns The jobs.
     */
    getAll: (campaignId: string) => Promise<Job[]>;
}
