import { StorageConfig } from '../config/config.js';
import { JobResult } from '../jobs/jobQueue.js';
import { Indexer } from './indexer.js';
/**
 * An index job to run.
 */
export interface IndexJob {
    /**
     * The indexer to run.
     */
    indexer: Indexer<any>;
    /**
     * The account ID to run the indexer for.
     */
    accountId: string;
    /**
     * The regions to run the indexer for.
     */
    regions: string[];
    /**
     * The partition to run the indexer for.
     */
    partition: string;
}
/**
 * Run index jobs in parallel with a specified concurrency.
 *
 * @param indexJobs the index jobs to run
 * @param storageConfig the storage configuration to use
 * @param concurrency the number of jobs to run in parallel
 */
export declare function runIndexJobs(indexJobs: IndexJob[], storageConfig: StorageConfig, concurrency: number): Promise<JobResult<void, Record<string, unknown>>[]>;
//# sourceMappingURL=runIndexers.d.ts.map