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 { TagListener } from "../../../../api/listener/TagListener";
import { CredentialsResolver } from "../../../../spi/credentials/CredentialsResolver";
import { RepoRefResolver } from "../../../../spi/repo-ref/RepoRefResolver";
import * as schema from "../../../../typings/types";
/**
 * A new tag has been created
 */
export declare class OnTag implements HandleEvent<schema.OnTag.Subscription> {
    private readonly listeners;
    private readonly repoRefResolver;
    private readonly credentialsFactory;
    private readonly preferenceStoreFactory;
    configuration: Configuration;
    constructor(listeners: TagListener[], repoRefResolver: RepoRefResolver, credentialsFactory: CredentialsResolver, preferenceStoreFactory: PreferenceStoreFactory);
    handle(event: EventFired<schema.OnTag.Subscription>, context: HandlerContext): Promise<HandlerResult>;
}
//# sourceMappingURL=OnTag.d.ts.map