export default function addWarning(warning?: string): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor;