import * as React from 'react'; /** * * NextTopLoader * */ type NextTopLoaderProps = { /** * Color for the TopLoader. * @default "#29d" */ color?: string | string[]; /** * The initial position for the TopLoader in percentage, 0.08 is 8%. * @default 0.08 */ initialPosition?: number; /** * The increament delay speed in milliseconds. * @default 200 */ crawlSpeed?: number; /** * The height for the TopLoader in pixels (px). * @default 3 */ height?: number; /** * Auto increamenting behaviour for the TopLoader. * @default true */ crawl?: boolean; /** * To show spinner or not. * @default true */ showSpinner?: boolean; /** * Animation settings using easing (a CSS easing string). * @default "ease" */ easing?: string; /** * Animation speed in ms for the TopLoader. * @default 200 */ speed?: number; /** * Defines a shadow for the TopLoader. * @default "0 0 10px ${color},0 0 5px ${color}" * * @ you can disable it by setting it to `false` */ shadow?: string | false; }; declare const NextTopLoader: ({ color: propColor, height: propHeight, showSpinner, crawl, crawlSpeed, initialPosition, easing, speed, shadow, }: NextTopLoaderProps) => React.JSX.Element; export { NextTopLoaderProps, NextTopLoader as default };