1 | import { Performance as PerformanceActions } from '@shopify/app-bridge/actions';
|
2 | import { Feature } from '../withFeature';
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | export interface PerformanceDetails {
|
9 | isFullPageNavigation: boolean;
|
10 | timeOrigin: number;
|
11 | }
|
12 | export declare type PerformanceStore = PerformanceDetails | null;
|
13 | export interface WithFeature {
|
14 | actions: {
|
15 | skeletonPageLoad: typeof PerformanceActions.skeletonPageLoad;
|
16 | fullPageLoad: typeof PerformanceActions.fullPageLoad;
|
17 | };
|
18 | store: PerformanceStore;
|
19 | }
|
20 | export declare const defaultPerformanceStore: null;
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 | export declare const feature: Feature<WithFeature['store'], WithFeature['actions']>;
|