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; /** * Compatible with CodeTransform but returns TransformResult. * At the cost of greater ceremony, guarantees the return of more information. */ export declare type ExplicitCodeTransform

= (p: Project, papi: PushAwareParametersInvocation

, params?: P) => Promise; /** * One or many CodeTransforms */ export declare type CodeTransformOrTransforms = CodeTransform | Array>; //# sourceMappingURL=CodeTransform.d.ts.map