import { AnalysisTracking } from "../../tracking/analysisTracker";
import { Analyzer, SpiderResult } from "./Spider";
export interface SpiderAppOptions {
    source: "GitHub" | "local";
    localDirectory?: string;
    owner?: string;
    /**
     * If this is set, clone under this directory on the local drive
     */
    cloneUnder?: string;
    /**
     * Refine name in GitHub search if searching for repos
     */
    search?: string;
    /**
     * If this is supplied, run a custom GitHub query
     */
    query?: string;
    workspaceId: string;
    /**
     * Update existing analyses for the same sha?
     * Take care to set this to false if the spider code has been updated
     */
    update?: boolean;
    /**
     * How many analyses shall we run at once? Default to something reasonable, like 10
     */
    poolSize?: number;
}
/**
 * Spider a GitHub.com org
 */
export declare function spider(params: SpiderAppOptions, analyzer: Analyzer, analysisTracking: AnalysisTracking): Promise<SpiderResult>;
//# sourceMappingURL=spiderCall.d.ts.map