///
import * as NProgress from 'nprogress';
/**
*
*
* @interface NextNProgressProps
*/
export interface NextNProgressProps {
/**
* The visibility property of the bar.
* @default "visible"
*/
progressBarVisibility?: 'visible' | 'hidden';
/**
* The color of the bar.
* @default "#29D"
*/
color?: string;
/**
* The progress % start position of the bar.
* @default 0.3
*/
startPosition?: number;
/**
* The delay in milliseconds to be removed after load ends.
* @default 200
*/
stopDelayMs?: number;
/**
* The height of the bar.
* @default 3
*/
height?: number;
/**
* Whether to show the bar on shallow routes.
* @default true
*/
showOnShallow?: boolean;
/**
* The other NProgress configuration options to pass to NProgress.
* Default set to hide NProgress original spinner
* @default { showSpinner: false }
*/
options?: Partial;
/**
* The nonce attribute to use for the `style` tag.
* @default undefined
*/
nonce?: string;
/**
* The NProgress spinner top position.
* @default "15px"
*/
spinnerTop?: string;
/**
* The NProgress spinner right position.
* @default "15px"
*/
spinnerRight?: string;
/**
* The react-spinners useState controller.
*
*/
setExternalSpinnerLoading?: (value: boolean) => void;
}
/**
* NextNProgress
*
*
*
*
*/
export default function NextNProgress({ progressBarVisibility, color, spinnerTop, spinnerRight, startPosition, stopDelayMs, height, showOnShallow, options, nonce, setExternalSpinnerLoading, }: NextNProgressProps): JSX.Element;