import { BaseModel } from './base.model';
export declare class Discount extends BaseModel {
    /**
     * The discount code
     */
    code: string;
    /**
     * How many times left the discount can be used.
     * Counter = -1 means infinite times
     */
    counter: number;
    type: 'absolute' | 'percentage';
    /**
     * Either the amount off (type 'absolute')
     * Example: value = 1000 -> -10€
     *
     * or percentage off (type 'percentage')
     * Example: value = 10 -> -10%
     */
    value: number;
    protected fillable: string[];
    static empty(): Discount;
    /**
     * Discount is still valid
     */
    isValid(): boolean;
    /**
     * Returns new price after discount
     */
    newPrice(price: number): number;
}
