@microsoft/omnichannel-chat-sdk
Version:
Microsoft Omnichannel Chat SDK
11 lines (10 loc) • 602 B
TypeScript
import sleep from "./sleep";
declare const loadScript: (scriptUrl: string, callbackOnload?: CallableFunction, callbackError?: CallableFunction, retries?: number, attempt?: number) => Promise<void>;
declare const removeElementById: (id: string) => void;
declare const _default: {
loadScript: (scriptUrl: string, callbackOnload?: CallableFunction, callbackError?: CallableFunction, retries?: number, attempt?: number) => Promise<void>;
removeElementById: (id: string) => void;
sleep: (ms: number) => Promise<void>;
};
export default _default;
export { loadScript, removeElementById, sleep };