     case Infinite
 }
 
-public func notify(notification: Notification, animation: NotificationAnimation = .Linear(), lifetime: TimeInterval = .Finite(2.0), handler: () -> Void) -> NotificationPresentationToken {
+public func notify(notification: Notification, animation: Animation = .Linear(), lifetime: TimeInterval = .Finite(2.0), handler: () -> Void) -> NotificationPresentationToken {
     
     let token = NotificationPresentationToken()
     

    
    public let gravityMagnitude: CGFloat
    
    public static var None = NotificationAnimation(inDuration: 0, outDuration: 0)
    
    public static var Linear: NotificationAnimation = .Linear()
    
    public static var Spring: NotificationAnimation = .Spring()
    
    public static var Gravity: NotificationAnimation = .Gravity()
    
    public static func Linear(inDirection inDirection: AnimationDirection = .Top, inDuration: NSTimeInterval = 0.4, outDirection: AnimationDirection = .Top, outDuration: NSTimeInterval = 0.4) -> NotificationAnimation {
        return NotificationAnimation(inAnimation: .Linear, inDirection: inDirection, inDuration: inDuration, outAnimation: .Linear, outDirection: outDirection, outDuration: outDuration)
    }
    
    public static func Spring(inDirection inDirection: AnimationDirection = .Top, inDuration: NSTimeInterval = 0.4, outDirection: AnimationDirection = .Top, outDuration: NSTimeInterval = 0.4, damping: CGFloat = 0.6, initialVelocity: CGFloat = 1.0) -> NotificationAnimation {
        return NotificationAnimation(inAnimation: .Spring, inDirection: inDirection, inDuration: inDuration, outAnimation: .Spring, outDirection: outDirection, outDuration: outDuration, springDamping: damping, springInitialVelocity: initialVelocity)
    }
    
    public static func Gravity(inDirection inDirection: AnimationDirection = .Top, inDuration: NSTimeInterval = 0.4, outDirection: AnimationDirection = .Top, outDuration: NSTimeInterval = 0.4, magnitude: CGFloat = 1.0) -> NotificationAnimation {
        return NotificationAnimation(inAnimation: .Gravity, inDirection: inDirection, inDuration: inDuration, outAnimation: .Gravity, outDirection: outDirection, outDuration: outDuration, gravityMagnitude: magnitude)
    }
    
}

public  typealias NotificationBarType    = CRToastType
public  typealias PresentationType       = CRToastPresentationType
public  typealias AccessoryViewAlignment = CRToastAccessoryViewAlignment
public  typealias InteractionType        = CRToastInteractionType
private typealias InteractionResponder   = CRToastInteractionResponder

