import { ActiveVkuiLocationObject } from '../hooks/useActiveVkuiLocation';
import { RouteNavigator } from '../services/RouteNavigator.type';
import { ComponentType } from 'react';
import { Params } from '@remix-run/router';
import { SetURLSearchParams } from '../hooks/useSearchParams';
type RouterProps = {
    location: ActiveVkuiLocationObject;
    routeNavigator: RouteNavigator;
    popout: JSX.Element | null;
    isFirstPage: boolean;
    params?: Params;
    searchParams: URLSearchParams;
    setSearchParams: SetURLSearchParams;
};
/**
 * HOC для добавления свойств
 *
 * location: {@link ActiveVkuiLocationObject}
 *
 * routeNavigator: {@link RouteNavigator}
 *
 * popout: {@link JSX.Element}
 *
 * params: {@link Params}
 *
 * isFirstPage: boolean
 *
 * searchParams: {@link URLSearchParams}
 *
 * setSearchParams: {@link SetURLSearchParams}
 *
 * в переданный компонент
 *
 * ```typescript
 * export default withRouter(App);
 * ```
 * @param Component
 */
export declare function withRouter<T extends RouterProps>(Component: ComponentType<T>): ComponentType<Omit<T, keyof RouterProps>>;
export {};
//# sourceMappingURL=withRouter.d.ts.map