import type { ComponentType, FC } from 'react';
import type { Options } from './types';
import { useNProgress } from './useNProgress';
type Outer<P> = P & Options;
type Inner<P> = P & ReturnType<typeof useNProgress>;
export declare function withNProgress<P>(BaseComponent: ComponentType<Inner<P>>): FC<Outer<P>>;
export {};
