/** * Decorator that checks the `success` field from the response object of an API method. * If `success` is `false`, it throws an `ApiError` with the associated error code. * The decorator is intended to handle errors based on the response structure documented at: * https://help.senler.ru/senler/dev/api/vozvrashaemye-oshibki */ export declare function handleApiError(_target: any, _propertyKey: string, descriptor: PropertyDescriptor): PropertyDescriptor;