@azure/communication-react
Version:
React library for building modern communication user experiences utilizing Azure Communication Services
11 lines • 701 B
TypeScript
import { ChatClientState } from "../../../../../chat-stateful-client/src";
import { ChatAdapterState } from '../adapter/ChatAdapter';
/**
* @private
*/
export declare const useAdaptedSelector: <SelectorT extends (state: ChatClientState, props: any) => any>(selector: SelectorT, selectorProps?: Parameters<SelectorT>[1]) => ReturnType<SelectorT>;
/**
* @private
*/
export declare const useSelectorWithAdaptation: <SelectorT extends (state: ReturnType<AdaptFuncT>, props: any) => any, AdaptFuncT extends (state: ChatAdapterState) => any>(selector: SelectorT, adaptState: AdaptFuncT, selectorProps?: Parameters<SelectorT>[1]) => ReturnType<SelectorT>;
//# sourceMappingURL=useAdaptedSelector.d.ts.map