declare global {
    interface Window {
        __foxact_jsonp_callbacks__SECRET_INTERNAL_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Record<string, ((data: any) => void) | undefined>;
    }
}
/** @see https://foxact.skk.moe/fetch-jsonp */
declare function fetchJsonp<T>(getUrl: (callbackName: string) => string, scriptElOptions?: Partial<HTMLScriptElement>): Promise<T>;

export { fetchJsonp };
