import { ComponentType } from 'react';
import { BaseComponentContext } from '@microsoft/sp-component-base';
export interface contextProps {
    SPContext: BaseComponentContext;
    alias: string;
    userId: string;
    userEmail: string;
    webAbsoluteUrl: string;
    webRelativeUrl: string;
    siteAbsoluteUrl: string;
    siteRelativeUrl: string;
}
export interface withSharepointContextProps {
    context: contextProps;
}
export declare function withSharepointContext<P extends withSharepointContextProps>(Component: ComponentType<P>): (props: Pick<P, Exclude<keyof P, "context">>) => JSX.Element;
