import { PimCredentials, Tenant } from '../../../types.js'; export type Action = { type: 'SHOW_NEW_FEEDBACK'; length: number; } | { type: 'SET_CREDENTIALS'; credentials: PimCredentials; } | { type: 'IMPORT_STARTED'; } | { type: 'IMPORT_DONE'; } | { type: 'CHANGE_TENANT'; item: Tenant; } | { type: 'ADD_MESSAGE'; message: string; }; export type State = { feedbackIndex: number; messages: string[]; isDone: boolean; isImporting: boolean; tenant?: Tenant; credentials?: PimCredentials; }; export declare function Reducer(state: State, action: Action): State;