bigbluebutton-html-plugin-sdk
Version:
This repository contains the SDK for developing BigBlueButton plugins. Plugins are React components that can be loaded from external sources by the BigBlueButton HTML5 client to extend its functionalities.
8 lines (7 loc) • 762 B
TypeScript
import { DataWaitingWrapper, UseLocaleMessagesProps } from './types';
import { LocaleObject } from '../../../../ui-data/domain/intl/locale/types';
declare function fetchLocaleAndStore(localeUrl: string, fetchConfigs?: RequestInit): Promise<Record<string, string>>;
declare function mergeLocaleMessages(desiredMessages: Record<string, string>, fallbackMessages: Record<string, string>): Record<string, string>;
declare function useGetLocalesIndex(localeUrl: string | undefined, fetchConfigs?: RequestInit): DataWaitingWrapper<string[]>;
declare function useGetNormalizedLocale({ pluginApi, fetchConfigs }: UseLocaleMessagesProps): DataWaitingWrapper<LocaleObject>;
export { fetchLocaleAndStore, mergeLocaleMessages, useGetLocalesIndex, useGetNormalizedLocale, };