import { FormStyle } from '../@Types/Form'; import { type Reducer } from '@reduxjs/toolkit'; import { SiteState } from './SiteSlice'; import { EurekaDraft } from '../@Types/Draft/Draft'; import { CountryCode } from 'libphonenumber-js'; import { User } from '../@Types/User'; export interface GlobalState { apiKey?: string; idOrganization: string; idCurrentAgent?: string; countryCode: CountryCode; formStyle: FormStyle; confirmation: { confirmationMessage: EurekaDraft; showLink: boolean; }; /** If the formsteps can be edited (For internal) */ editable: boolean; preview: boolean; postview: boolean; partial: boolean; internal: boolean; loaded: boolean; /** Current User */ user: User | null | undefined; } interface GlobalSliceAPI { reducer: Reducer; getInitialState(): GlobalState; name: string; reducerPath: string; } export declare const reset: import("@reduxjs/toolkit").ActionCreatorWithPayload & SiteState, "global/reset">, setUser: import("@reduxjs/toolkit").ActionCreatorWithPayload; export declare const GlobalSlice: GlobalSliceAPI; export default GlobalSlice;