import React from 'react'; import { ScriptHTMLAttributes } from 'react'; export interface Props extends ScriptHTMLAttributes { strategy?: 'defer' | 'lazy' | 'dangerouslyBlockRendering' | 'eager'; id?: string; onLoad?: () => void; onError?: () => void; children?: React.ReactNode; preload?: boolean; } export declare function initScriptLoader(scriptLoaderItems: Props[]): void; declare function Script(props: Props): JSX.Element | null; export default Script;