// Type definitions for ngprogress-lite
// Project: https://github.com/voronianski/ngprogress-lite
// Definitions by: Luke Forder <https://github.com/LukeForder>
// Definitions: https://github.com/borisyankov/DefinitelyTyped

declare module angular.progressLite {

    export interface INgProgressLite {
        set(num: number): INgProgressLite;
        get(): number;
        start(): INgProgressLite;
        inc(amount?: number): INgProgressLite;
        done(): void;
    }

    export interface IConfigurationOptions {
        minimum: number;
        speed: number;
        ease: string;
        trickleRate: number;
        trickleSpeed: number;
        template: string;
    }

    export interface INgProgressLiteProvider {
        settings: IConfigurationOptions;
    }
}
