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