import { Src, Activity, InjectAcitityToken, ActivityConfigure, Expression, ExpressionType } from '@taskfr/core'; import { IPipeContext } from './IPipeContext'; /** * clean task token. */ export declare const CleanToken: InjectAcitityToken; /** * clean configure * * @export * @interface ICleanConfigure * @extends {ActivityConfigure} */ export interface CleanConfigure extends ActivityConfigure { /** * clean match. * * @type {ExpressionType} * @memberof ICleanConfigure */ clean: ExpressionType; } /** * clean task. */ export declare class CleanActivity extends Activity { /** * context. * * @type {IPipeContext} * @memberof BaseTask */ context: IPipeContext; /** * clean source. * * @type {Expression} * @memberof CleanActivity */ clean: Expression; onActivityInit(config: CleanConfigure): Promise; /** * run clean. * * @param {*} [data] * @returns {Promise} * @memberof CleanActivity */ run(data?: any): Promise; static classAnnations: any; }