import { EditResult } from "@atomist/automation-client/lib/operations/edit/projectEditor"; import { Project } from "@atomist/automation-client/lib/project/Project"; import { NoParameters } from "@atomist/automation-client/lib/SmartParameters"; import { PushAwareParametersInvocation } from "./PushAwareParametersInvocation"; export declare type TransformResult = EditResult; export declare type TransformReturnable = Project | TransformResult | void; /** * Function that can transform a project. Mixing HandlerContextMethods into second * parameter, and third parameter are only for backward compatibility. * New code should use (Project, Command ParametersInvocation). * Projects are naturally mutable. */ export declare type CodeTransform
= (p: Project, papi: PushAwareParametersInvocation
, params?: P) => Promise = (p: Project, papi: PushAwareParametersInvocation , params?: P) => Promise