import React from 'react'; /** Determines how the script is included in the HTML */ type ScriptVariants = /** Renders the script inline blocking HTML parsing until the script loads and executes. */ 'block' /** Adds `type="module"` attribute to defer loading the script until after HTML parsing. */ | 'defer' /** Loads the script in the head of the document as soon as possible. */ | 'hoist'; interface ScriptProps { /** The variant of script to render. Defaults to `defer`. */ variant?: ScriptVariants; /** A nonce for Content Security Policy */ nonce?: string; /** * A promise that resolves to a module with a default export containing the * script content. The script should be contained entirely within the default * export. Only types can be external to the default export. */ children: Promise; } /** Renders a script tag with the provided script content. */ export declare function Script(props: ScriptProps & Record): Promise; export {};