export type ScriptTag = ScriptTag.TextContent | ScriptTag.Src; export declare namespace ScriptTag { type Common = { type: "text/javascript" | "module"; }; export type TextContent = Common & { textContent: string | (() => string); }; export type Src = Common & { src: string; }; export {}; } export declare function useInsertScriptTags(params: { effectId: string; scriptTags: ScriptTag[]; }): { insertScriptTags: () => void; };