@open-wa/wa-automate-types-only
Version:
Types generated from the @open-wa/wa-automate package
18 lines (17 loc) • 405 B
TypeScript
export declare class ScriptLoader {
scripts: string[];
contentRegistry: {
[key: string]: string;
};
constructor();
loadScripts(): Promise<{
[key: string]: string;
}>;
getScript(scriptName: string): Promise<string>;
flush(): void;
getScripts(): {
[key: string]: string;
};
}
declare const scriptLoader: ScriptLoader;
export { scriptLoader };