1 | /**
|
2 | * Copyright (c) 2017-present, Ephox, Inc.
|
3 | *
|
4 | * This source code is licensed under the Apache 2 license found in the
|
5 | * LICENSE file in the root directory of this source tree.
|
6 | *
|
7 | */
|
8 | export declare type callbackFn = () => void;
|
9 | export interface IStateObj {
|
10 | listeners: callbackFn[];
|
11 | scriptId: string;
|
12 | scriptLoading: boolean;
|
13 | scriptLoaded: boolean;
|
14 | }
|
15 | interface ScriptLoader {
|
16 | load: (doc: Document, url: string, async: boolean, defer: boolean, delay: number, callback: callbackFn) => void;
|
17 | reinitialize: () => void;
|
18 | }
|
19 | declare const ScriptLoader: ScriptLoader;
|
20 | export { ScriptLoader };
|