import { Performance as PerformanceActions } from '@shopify/app-bridge/actions'; import { Feature } from '../withFeature'; /** * The interface props that are passed down to the Performance component * as a the result of calling the `withFeature` decorator * @public * */ export interface PerformanceDetails { isFullPageNavigation: boolean; timeOrigin: number; } export declare type PerformanceStore = PerformanceDetails | null; export interface WithFeature { actions: { skeletonPageLoad: typeof PerformanceActions.skeletonPageLoad; fullPageLoad: typeof PerformanceActions.fullPageLoad; }; store: PerformanceStore; } export declare const defaultPerformanceStore: null; /** * An object containing the key, actions, initial state and reducer of the Performance feature * Can be used with the `withFeature` decorator to add the reducer * and then make its actions and store available to the wrapped component * @public * */ export declare const feature: Feature;