declare const OnStatusChanged: (params: { from: S; to: S; failOnError?: boolean; }) => (target: any, propertyKey: string, descriptor: PropertyDescriptor) => PropertyDescriptor; export { OnStatusChanged };