/// <reference types="react" />
import type { AppData } from "@remix-run/server-runtime";
import { HandleConventionArguments } from "./handle-conventions.js";
export type ReferrerPolicy =
  | "no-referrer-when-downgrade"
  | "no-referrer"
  | "origin-when-cross-origin"
  | "origin"
  | "same-origin"
  | "strict-origin-when-cross-origin"
  | "strict-origin"
  | "unsafe-url";
export type CrossOrigin = "anonymous" | "use-credentials";
export type ScriptDescriptor = {
  async?: boolean;
  crossOrigin?: CrossOrigin;
  defer?: boolean;
  integrity?: string;
  noModule?: boolean;
  nonce?: string;
  referrerPolicy?: ReferrerPolicy;
  src: string;
  type?: string;
};
export interface ExternalScriptsFunction<Data extends AppData = AppData> {
  (args: HandleConventionArguments<Data>): ScriptDescriptor[];
}
export declare function ExternalScripts(): JSX.Element;
