@azure/communication-react
Version:
React library for building modern communication user experiences utilizing Azure Communication Services
22 lines • 1.25 kB
TypeScript
import { PromptProps } from '../components/Prompt';
/**
* @internal
*/
export declare const useLocalSpotlightCallbacksWithPrompt: (onStartLocalSpotlight?: () => Promise<void>, onStopLocalSpotlight?: () => Promise<void>, setIsPromptOpen?: (isOpen: boolean) => void, setPromptProps?: (promptProps: PromptProps) => void) => {
onStartLocalSpotlightWithPrompt?: () => Promise<void>;
onStopLocalSpotlightWithPrompt?: () => Promise<void>;
};
/**
* @internal
*/
export declare const useRemoteSpotlightCallbacksWithPrompt: (onStartRemoteSpotlight?: (userIds: string[]) => Promise<void>, onStopRemoteSpotlight?: (userIds: string[]) => Promise<void>, setIsPromptOpen?: (isOpen: boolean) => void, setPromptProps?: (promptProps: PromptProps) => void) => {
onStartRemoteSpotlightWithPrompt?: (userIds: string[]) => Promise<void>;
onStopRemoteSpotlightWithPrompt?: (userIds: string[]) => Promise<void>;
};
/**
* @internal
*/
export declare const useStopAllSpotlightCallbackWithPrompt: (stopAllSpotlight?: () => Promise<void>, setIsPromptOpen?: (isOpen: boolean) => void, setPromptProps?: (promptProps: PromptProps) => void) => {
stopAllSpotlightWithPrompt?: (userIds?: string[]) => Promise<void>;
};
//# sourceMappingURL=spotlightUtils.d.ts.map