import { PipeActivity } from './PipeActivity'; import { TransformType } from './pipeTypes'; import { IActivity } from '@taskfr/core'; import { IPipeConfigure } from './IPipeConfigure'; import { InjectPipeActivityToken } from './IPipeActivity'; import { ITransform } from './ITransform'; /** * annotation activity token */ export declare const AnnotationAcitvityToken: InjectPipeActivityToken; export interface AnnotationsConfigure extends IPipeConfigure { /** * annotation framework. * * @type {TransformType} * @memberof AnnotationConfigure */ annotationFramework: TransformType; } /** * annotation activity. * * @export * @class AnnotationActivity * @extends {PipeActivity} */ export declare class AnnotationActivity extends PipeActivity { /** * annotation framework. * * @type {TransformType} * @memberof AssetActivity */ annotationFramework: TransformType; onActivityInit(config: AnnotationsConfigure): Promise; /** * begin pipe. * * @protected * @param {ITransform} stream * @param {IActivity} [execute] * @returns {Promise} * @memberof AnnotationActivity */ protected beforePipe(stream: ITransform, execute?: IActivity): Promise; static classAnnations: any; }