/** * @license * Copyright Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { TrustedResourceUrl } from '../../internals/resource_url_impl.js'; import { SafeScript } from '../../internals/script_impl.js'; /** Sets textContent from the given SafeScript. */ export declare function setScriptTextContent(script: HTMLScriptElement, v: SafeScript, options?: { omitNonce?: boolean; }): void; /** Sets the Src attribute using a TrustedResourceUrl */ export declare function setScriptSrc(script: HTMLScriptElement, v: TrustedResourceUrl, options?: { omitNonce?: boolean; }): void;