import { Configuration } from "@atomist/automation-client/lib/configuration";
import { EventFired, HandleEvent } from "@atomist/automation-client/lib/HandleEvent";
import { HandlerContext } from "@atomist/automation-client/lib/HandlerContext";
import { HandlerResult } from "@atomist/automation-client/lib/HandlerResult";
import { PreferenceStoreFactory } from "../../../../api/context/preferenceStore";
import { PullRequestListener } from "../../../../api/listener/PullRequestListener";
import { CredentialsResolver } from "../../../../spi/credentials/CredentialsResolver";
import { ProjectLoader } from "../../../../spi/project/ProjectLoader";
import { RepoRefResolver } from "../../../../spi/repo-ref/RepoRefResolver";
import * as schema from "../../../../typings/types";
/**
 * A pull request has been raised
 */
export declare class OnPullRequest implements HandleEvent<schema.OnPullRequest.Subscription> {
    private readonly projectLoader;
    private readonly repoRefResolver;
    private readonly listeners;
    private readonly credentialsFactory;
    private readonly preferenceStoreFactory;
    configuration: Configuration;
    constructor(projectLoader: ProjectLoader, repoRefResolver: RepoRefResolver, listeners: PullRequestListener[], credentialsFactory: CredentialsResolver, preferenceStoreFactory: PreferenceStoreFactory);
    handle(event: EventFired<schema.OnPullRequest.Subscription>, context: HandlerContext): Promise<HandlerResult>;
}
//# sourceMappingURL=OnPullRequest.d.ts.map