UNPKG

554 BTypeScriptView Raw
1import { Project } from "@atomist/automation-client/lib/project/Project";
2import { ProjectLoader, ProjectLoadingParameters, WithLoadedProject } from "../../spi/project/ProjectLoader";
3/**
4 * ProjectLoader that can only return one project.
5 * Normally used in testing.
6 */
7export declare class SingleProjectLoader implements ProjectLoader {
8 private readonly project;
9 constructor(project: Project);
10 doWithProject<T>(params: ProjectLoadingParameters, action: WithLoadedProject<T>): Promise<T>;
11}
12//# sourceMappingURL=SingleProjectLoader.d.ts.map
\No newline at end of file