@soma-vertical-web/multi-lib 1.0.41 → 1.0.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,6 @@
1
+ import { FreightContextProps, FreightProviderProps } from '../../../types/layout/team-components/FreightCalculation';
2
+
3
+ declare const FreightContext: import('react').Context<FreightContextProps>;
4
+ declare const FreightProvider: ({ children }: FreightProviderProps) => import("react/jsx-runtime").JSX.Element;
5
+ declare const useFreightContext: () => FreightContextProps;
6
+ export { FreightContext, FreightProvider, useFreightContext };
@@ -21,7 +21,7 @@ export declare const SESSION_COOKIES: {
21
21
  duration: number;
22
22
  }[];
23
23
  export declare const useSessionManager: ({ storeId, storeUrl }: SessionProps) => {
24
- sendSearchEvent: (type: EventType, data?: DataType) => Promise<Response>;
24
+ sendSearchEvent: (type: EventType, data?: DataType) => Promise<Response> | undefined;
25
25
  sessionGenerator: () => void;
26
26
  };
27
27
  export {};
@@ -115,6 +115,10 @@ export declare const contexts: {
115
115
  hook: () => import('../types/layout/templates/LPLojas').LPStoreContextProps;
116
116
  provider: ({ children, data }: import('../types/layout/templates/LPLojas').LPStoreProviderProps) => import("react/jsx-runtime").JSX.Element;
117
117
  };
118
+ freight: {
119
+ hook: () => import('../types/layout/team-components/FreightCalculation').FreightContextProps;
120
+ provider: ({ children }: import('../types/layout/team-components/FreightCalculation').FreightProviderProps) => import("react/jsx-runtime").JSX.Element;
121
+ };
118
122
  };
119
123
  hooks: {
120
124
  useBackPDC: ({ gridScrollBack }: import('../types/contexts/hooks').UseBackPDCProps) => void;
@@ -152,7 +156,7 @@ export declare const contexts: {
152
156
  misspelled?: boolean;
153
157
  match?: number;
154
158
  operator?: string;
155
- }) => Promise<Response>;
159
+ }) => Promise<Response> | undefined;
156
160
  sessionGenerator: () => void;
157
161
  };
158
162
  };