/** * @license * * Copyright IBM Corp. 2021, 2024 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import { ActionCreatorsMapObject, Dispatch } from 'redux'; import { LocaleAPIState } from '../../internal/vendor/@carbon/ibmdotcom-services-store/types/localeAPI'; import { LeavingIBMLabels, MiscLabels, TranslateAPIState } from '../../internal/vendor/@carbon/ibmdotcom-services-store/types/translateAPI'; import { loadTranslation } from '../../internal/vendor/@carbon/ibmdotcom-services-store/actions/translateAPI.js'; import { TranslateAPIActions } from '../../internal/vendor/@carbon/ibmdotcom-services-store/actions/translateAPI'; import { setLanguage } from '../../internal/vendor/@carbon/ibmdotcom-services-store/actions/localeAPI.js'; /** * The Redux state used for ``. */ export interface LeavingIbmContainerState { /** * The Redux state for `LocaleAPI`. */ localeAPI?: LocaleAPIState; /** * The Redux state for `TranslateAPI`. */ translateAPI?: TranslateAPIState; } /** * The properties for `` from Redux state. */ export interface LeavingIbmContainerStateProps { /** * Leaving IBM modal copy */ leavingIbmCopy?: LeavingIBMLabels; /** * Leaving IBM modal button label */ leavingIbmButtonLabel?: MiscLabels['continueText']; } /** * The Redux actions used for ``. */ export type LeavingIbmContainerActions = ReturnType | ReturnType; /** * @param state The Redux state for leaving ibm component. * @returns The converted version of the given state, tailored for ``. */ export declare function mapStateToProps(state: LeavingIbmContainerState): LeavingIbmContainerStateProps; /** * @param dispatch The Redux `dispatch()` API. * @returns The methods in `` to dispatch Redux actions. */ export declare function mapDispatchToProps(dispatch: Dispatch): ActionCreatorsMapObject; //# sourceMappingURL=leaving-ibm-connect.d.ts.map