import type { GridContextProps, GridPlan, PlansIntent, UseAction } from './types'; import type { FeatureList, FeatureGroupMap } from '@automattic/calypso-products'; import type { Plans } from '@automattic/data-stores'; interface PlansGridContext { intent?: PlansIntent; siteId?: number | null; gridPlans: GridPlan[]; gridPlansIndex: { [key: string]: GridPlan; }; allFeaturesList: FeatureList; helpers: { useCheckPlanAvailabilityForPurchase: Plans.UseCheckPlanAvailabilityForPurchase; useAction: UseAction; recordTracksEvent?: GridContextProps['recordTracksEvent']; }; coupon?: string; enableFeatureTooltips?: boolean; /** * `enableCategorisedFeatures` relevant to Features Grid (and omitted from Comparison Grid) * for rendering features with categories based on available/associated feature group map. */ enableCategorisedFeatures?: boolean; enableStorageAsBadge?: boolean; enableReducedFeatureGroupSpacing?: boolean; enableLogosOnlyForEnterprisePlan?: boolean; enableTermSavingsPriceDisplay?: boolean; featureGroupMap: Partial; hideUnsupportedFeatures?: boolean; hideFeatureGroupTitles?: boolean; enterpriseFeaturesList?: string[]; isEnterpriseA4AIndia?: boolean; reflectStorageSelectionInPlanPrices?: boolean; showSimplifiedBillingDescription?: boolean; showBillingDescriptionForIncreasedRenewalPrice?: string | null; isExperimentVariant?: boolean; showFeatureCheckmarks?: boolean; } declare const PlansGridContext: import("react").Context; declare const PlansGridContextProvider: ({ intent, gridPlans, useCheckPlanAvailabilityForPurchase, useAction, recordTracksEvent, allFeaturesList, siteId, children, coupon, enableFeatureTooltips, enableCategorisedFeatures, enableStorageAsBadge, enableReducedFeatureGroupSpacing, enableLogosOnlyForEnterprisePlan, enableTermSavingsPriceDisplay, featureGroupMap, hideUnsupportedFeatures, hideFeatureGroupTitles, enterpriseFeaturesList, isEnterpriseA4AIndia, reflectStorageSelectionInPlanPrices, showSimplifiedBillingDescription, showBillingDescriptionForIncreasedRenewalPrice, isExperimentVariant, showFeatureCheckmarks, }: GridContextProps) => import("react").JSX.Element; export declare const usePlansGridContext: () => PlansGridContext; export type { PlansIntent }; export default PlansGridContextProvider; //# sourceMappingURL=grid-context.d.ts.map