///
import * as NProgress from 'nprogress';
import * as Spinners from 'react-spinners';
import { LoaderHeightWidthRadiusProps, LoaderSizeProps } from 'react-spinners/helpers/props';
/**
*
*
* @interface NextNProgressProps
*/
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;
}
declare type spinnerTypes = keyof typeof Spinners;
interface spinnerProps extends LoaderHeightWidthRadiusProps, LoaderSizeProps {
}
interface NextProgressbarSpinnerProps {
NextNProgressProps?: Omit;
spinnerProps?: Omit;
spinnerType?: spinnerTypes;
}
declare const NextProgressbarSpinner: ({ NextNProgressProps, spinnerProps, spinnerType, }: NextProgressbarSpinnerProps) => JSX.Element;
export { NextProgressbarSpinner };