/// <reference types="react" />
import { ServiceReturnType, Services } from '@parlor/contexts';
import { Parameter } from '@parlor/services';
export type ISuccessPlanContext = {
    handleUpdate(values: Omit<Parameter<Services['successPlan']['update']>, 'id'>): ReturnType<Services['successPlan']['update']>;
    isAdmin?: boolean;
    portal: ServiceReturnType<'portal', 'useGet'>['data']['get'];
    successPlan: ServiceReturnType<'successPlan', 'useGet'>['data']['get'];
};
export declare const SuccessPlanContext: import("react").Context<ISuccessPlanContext>;
export declare const useSuccessPlan: () => ISuccessPlanContext;
