export type TaskMetadata = { type: string; }; export declare function task(key: string): (target: any, propertyKey?: any, descriptor?: TypedPropertyDescriptor) => any;