///
import { LivestreamingCtx } from '..';
import { Message, HightLightHistoryElement, IvsRealTime, AccountType } from '../../../types';
type Action = V extends void ? {
type: K;
} : {
type: K;
} & V;
export type Actions = Action<'SET_LIVESTREAM_CONFIG', {
args: {
idLivestreaming: string;
account: string;
host: string;
playBackStartTime: number;
accountType: AccountType;
};
}> | Action<'SET_CHAT_HISTORY', {
args: {
chatHistory: Message[];
};
}> | Action<'SET_CHAT', {
args: {
chat: Message[];
};
}> | Action<'SET_HIGHLIGHT_HISTORY', {
args: {
highlightHistory: HightLightHistoryElement[];
};
}> | Action<'SET_HIGHTLIGHT', {
args: {
productsId: string[];
};
}> | Action<'SET_IVS_DATA_REAL_TIME', {
args: {
ivsRealTime: IvsRealTime;
};
}>;
export declare const useLivestreamingReducer: () => [LivestreamingCtx, import("react").Dispatch];
export {};