import { HandlerContext } from "@atomist/automation-client/lib/HandlerContext";
import { ProjectOperationCredentials } from "@atomist/automation-client/lib/operations/common/ProjectOperationCredentials";
import { RepoLoader } from "@atomist/automation-client/lib/operations/common/repoLoader";
import { ProjectLoader } from "../../spi/project/ProjectLoader";
/**
 * Adapter from newer ProjectLoader to older RepoLoader for use in editors
 * @param pl ProjectLoader
 * @param credentials credentials to use to load projects
 * @param readOnly is the use read only?
 * @return {RepoLoader}
 */
export declare function projectLoaderRepoLoader(pl: ProjectLoader, credentials: ProjectOperationCredentials, readOnly: boolean, context?: HandlerContext): RepoLoader;
//# sourceMappingURL=projectLoaderRepoLoader.d.ts.map