import React from 'react'; interface BaseScriptProps { src?: string; async?: boolean; defer?: boolean; type?: 'text/javascript' | 'module' | 'importmap' | 'speculationrules' | 'application/json' | 'application/ld+json' | string; crossOrigin?: 'anonymous' | 'use-credentials'; integrity?: string; nonce?: string; referrerPolicy?: 'no-referrer' | 'no-referrer-when-downgrade' | 'origin' | 'origin-when-cross-origin' | 'same-origin' | 'strict-origin' | 'strict-origin-when-cross-origin' | 'unsafe-url'; noModule?: boolean; fetchPriority?: 'high' | 'low' | 'auto'; blocking?: 'render'; attributionSrc?: boolean | string; children?: React.ReactNode; } interface ExternalScriptProps extends BaseScriptProps { src: string; children?: never; } interface InlineScriptProps extends BaseScriptProps { src?: never; children: React.ReactNode; } type ScriptProps = ExternalScriptProps | InlineScriptProps; export declare function Script(props: ScriptProps): React.JSX.Element | null; export declare function ScriptExternal({ src, async, defer, crossOrigin, integrity, referrerPolicy, fetchPriority, nonce }: { src: string; async?: boolean; defer?: boolean; crossOrigin?: 'anonymous' | 'use-credentials'; integrity?: string; referrerPolicy?: 'no-referrer' | 'no-referrer-when-downgrade' | 'origin' | 'origin-when-cross-origin' | 'same-origin' | 'strict-origin' | 'strict-origin-when-cross-origin' | 'unsafe-url'; fetchPriority?: 'high' | 'low' | 'auto'; nonce?: string; }): React.JSX.Element; export declare function ScriptModule({ src, children, nonce, crossOrigin, integrity, referrerPolicy }: { src?: string; children?: React.ReactNode; nonce?: string; crossOrigin?: 'anonymous' | 'use-credentials'; integrity?: string; referrerPolicy?: 'no-referrer' | 'no-referrer-when-downgrade' | 'origin' | 'origin-when-cross-origin' | 'same-origin' | 'strict-origin' | 'strict-origin-when-cross-origin' | 'unsafe-url'; }): React.JSX.Element | null; export declare function ScriptInline({ children, type, nonce }: { children: React.ReactNode; type?: string; nonce?: string; }): React.JSX.Element; export declare function ScriptJSON({ id, data, nonce }: { id?: string; data: any; nonce?: string; }): React.JSX.Element; export declare function ScriptImportMap({ imports, scopes, nonce }: { imports?: Record; scopes?: Record>; nonce?: string; }): React.JSX.Element; export declare function ScriptNoModule({ src, children, async, defer }: { src?: string; children?: React.ReactNode; async?: boolean; defer?: boolean; }): React.JSX.Element | null; export {};