export declare function getScriptUrlFromFunction(fn: (() => Promise) | string): string;