declare const _exports: { version: string; settings: { minimum: number; easing: string; positionUsing: string; speed: number; trickle: boolean; trickleSpeed: number; showSpinner: boolean; barSelector: string; spinnerSelector: string; parent: string; template: string; }; /** * Updates configuration. * * NProgress.configure({ * minimum: 0.1 * }); */ configure(options: any): { version: string; settings: { minimum: number; easing: string; positionUsing: string; speed: number; trickle: boolean; trickleSpeed: number; showSpinner: boolean; barSelector: string; spinnerSelector: string; parent: string; template: string; }; configure(options: any): any; /** * Last number. */ status: any; /** * Sets the progress bar status, where `n` is a number from `0.0` to `1.0`. * * NProgress.set(0.4); * NProgress.set(1.0); */ set(n: any): any; isStarted(): boolean; /** * Shows the progress bar. * This is the same as setting the status to 0%, except that it doesn't go backwards. * * NProgress.start(); * */ start(): any; /** * Hides the progress bar. * This is the *sort of* the same as setting the status to 100%, with the * difference being `done()` makes some placebo effect of some realistic motion. * * NProgress.done(); * * If `true` is passed, it will show the progress bar even if its hidden. * * NProgress.done(true); */ done(force: any): any; /** * Increments by a random amount. */ inc(amount: any): any; trickle(): any; /** * (Internal) renders the progress bar markup based on the `template` * setting. */ render(fromStart: any): HTMLElement; /** * Removes the element. Opposite of render(). */ remove(): void; /** * Checks if the progress bar is rendered. */ isRendered(): boolean; /** * Determine which positioning CSS rule to use. */ getPositioningCSS(): "translate" | "translate3d" | "margin"; }; /** * Last number. */ status: any; /** * Sets the progress bar status, where `n` is a number from `0.0` to `1.0`. * * NProgress.set(0.4); * NProgress.set(1.0); */ set(n: any): { version: string; settings: { minimum: number; easing: string; positionUsing: string; speed: number; trickle: boolean; trickleSpeed: number; showSpinner: boolean; barSelector: string; spinnerSelector: string; parent: string; template: string; }; /** * Updates configuration. * * NProgress.configure({ * minimum: 0.1 * }); */ configure(options: any): any; /** * Last number. */ status: any; set(n: any): any; isStarted(): boolean; /** * Shows the progress bar. * This is the same as setting the status to 0%, except that it doesn't go backwards. * * NProgress.start(); * */ start(): any; /** * Hides the progress bar. * This is the *sort of* the same as setting the status to 100%, with the * difference being `done()` makes some placebo effect of some realistic motion. * * NProgress.done(); * * If `true` is passed, it will show the progress bar even if its hidden. * * NProgress.done(true); */ done(force: any): any; /** * Increments by a random amount. */ inc(amount: any): any; trickle(): any; /** * (Internal) renders the progress bar markup based on the `template` * setting. */ render(fromStart: any): HTMLElement; /** * Removes the element. Opposite of render(). */ remove(): void; /** * Checks if the progress bar is rendered. */ isRendered(): boolean; /** * Determine which positioning CSS rule to use. */ getPositioningCSS(): "translate" | "translate3d" | "margin"; }; isStarted(): boolean; /** * Shows the progress bar. * This is the same as setting the status to 0%, except that it doesn't go backwards. * * NProgress.start(); * */ start(): { version: string; settings: { minimum: number; easing: string; positionUsing: string; speed: number; trickle: boolean; trickleSpeed: number; showSpinner: boolean; barSelector: string; spinnerSelector: string; parent: string; template: string; }; /** * Updates configuration. * * NProgress.configure({ * minimum: 0.1 * }); */ configure(options: any): any; /** * Last number. */ status: any; /** * Sets the progress bar status, where `n` is a number from `0.0` to `1.0`. * * NProgress.set(0.4); * NProgress.set(1.0); */ set(n: any): any; isStarted(): boolean; start(): any; /** * Hides the progress bar. * This is the *sort of* the same as setting the status to 100%, with the * difference being `done()` makes some placebo effect of some realistic motion. * * NProgress.done(); * * If `true` is passed, it will show the progress bar even if its hidden. * * NProgress.done(true); */ done(force: any): any; /** * Increments by a random amount. */ inc(amount: any): any; trickle(): any; /** * (Internal) renders the progress bar markup based on the `template` * setting. */ render(fromStart: any): HTMLElement; /** * Removes the element. Opposite of render(). */ remove(): void; /** * Checks if the progress bar is rendered. */ isRendered(): boolean; /** * Determine which positioning CSS rule to use. */ getPositioningCSS(): "translate" | "translate3d" | "margin"; }; /** * Hides the progress bar. * This is the *sort of* the same as setting the status to 100%, with the * difference being `done()` makes some placebo effect of some realistic motion. * * NProgress.done(); * * If `true` is passed, it will show the progress bar even if its hidden. * * NProgress.done(true); */ done(force: any): { version: string; settings: { minimum: number; easing: string; positionUsing: string; speed: number; trickle: boolean; trickleSpeed: number; showSpinner: boolean; barSelector: string; spinnerSelector: string; parent: string; template: string; }; /** * Updates configuration. * * NProgress.configure({ * minimum: 0.1 * }); */ configure(options: any): any; /** * Last number. */ status: any; /** * Sets the progress bar status, where `n` is a number from `0.0` to `1.0`. * * NProgress.set(0.4); * NProgress.set(1.0); */ set(n: any): any; isStarted(): boolean; /** * Shows the progress bar. * This is the same as setting the status to 0%, except that it doesn't go backwards. * * NProgress.start(); * */ start(): any; done(force: any): any; /** * Increments by a random amount. */ inc(amount: any): any; trickle(): any; /** * (Internal) renders the progress bar markup based on the `template` * setting. */ render(fromStart: any): HTMLElement; /** * Removes the element. Opposite of render(). */ remove(): void; /** * Checks if the progress bar is rendered. */ isRendered(): boolean; /** * Determine which positioning CSS rule to use. */ getPositioningCSS(): "translate" | "translate3d" | "margin"; }; /** * Increments by a random amount. */ inc(amount: any): { version: string; settings: { minimum: number; easing: string; positionUsing: string; speed: number; trickle: boolean; trickleSpeed: number; showSpinner: boolean; barSelector: string; spinnerSelector: string; parent: string; template: string; }; /** * Updates configuration. * * NProgress.configure({ * minimum: 0.1 * }); */ configure(options: any): any; /** * Last number. */ status: any; /** * Sets the progress bar status, where `n` is a number from `0.0` to `1.0`. * * NProgress.set(0.4); * NProgress.set(1.0); */ set(n: any): any; isStarted(): boolean; /** * Shows the progress bar. * This is the same as setting the status to 0%, except that it doesn't go backwards. * * NProgress.start(); * */ start(): any; /** * Hides the progress bar. * This is the *sort of* the same as setting the status to 100%, with the * difference being `done()` makes some placebo effect of some realistic motion. * * NProgress.done(); * * If `true` is passed, it will show the progress bar even if its hidden. * * NProgress.done(true); */ done(force: any): any; inc(amount: any): any; trickle(): any; /** * (Internal) renders the progress bar markup based on the `template` * setting. */ render(fromStart: any): HTMLElement; /** * Removes the element. Opposite of render(). */ remove(): void; /** * Checks if the progress bar is rendered. */ isRendered(): boolean; /** * Determine which positioning CSS rule to use. */ getPositioningCSS(): "translate" | "translate3d" | "margin"; }; trickle(): { version: string; settings: { minimum: number; easing: string; positionUsing: string; speed: number; trickle: boolean; trickleSpeed: number; showSpinner: boolean; barSelector: string; spinnerSelector: string; parent: string; template: string; }; /** * Updates configuration. * * NProgress.configure({ * minimum: 0.1 * }); */ configure(options: any): any; /** * Last number. */ status: any; /** * Sets the progress bar status, where `n` is a number from `0.0` to `1.0`. * * NProgress.set(0.4); * NProgress.set(1.0); */ set(n: any): any; isStarted(): boolean; /** * Shows the progress bar. * This is the same as setting the status to 0%, except that it doesn't go backwards. * * NProgress.start(); * */ start(): any; /** * Hides the progress bar. * This is the *sort of* the same as setting the status to 100%, with the * difference being `done()` makes some placebo effect of some realistic motion. * * NProgress.done(); * * If `true` is passed, it will show the progress bar even if its hidden. * * NProgress.done(true); */ done(force: any): any; /** * Increments by a random amount. */ inc(amount: any): any; trickle(): any; /** * (Internal) renders the progress bar markup based on the `template` * setting. */ render(fromStart: any): HTMLElement; /** * Removes the element. Opposite of render(). */ remove(): void; /** * Checks if the progress bar is rendered. */ isRendered(): boolean; /** * Determine which positioning CSS rule to use. */ getPositioningCSS(): "translate" | "translate3d" | "margin"; }; /** * (Internal) renders the progress bar markup based on the `template` * setting. */ render(fromStart: any): HTMLElement; /** * Removes the element. Opposite of render(). */ remove(): void; /** * Checks if the progress bar is rendered. */ isRendered(): boolean; /** * Determine which positioning CSS rule to use. */ getPositioningCSS(): "translate" | "translate3d" | "margin"; }; export = _exports;