/** * @license * Copyright Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { SafeHtml } from '../../internals/html_impl.js'; /** * documentWrite safely calls {@link Document.write} on the given * {@link Document} with the given {@link SafeHtml}. */ export declare function documentWrite(doc: Document, text: SafeHtml): void; declare type ValueType = Lowercase extends 'inserthtml' ? SafeHtml : SafeHtml | string; /** * Safely calls {@link Document.execCommand}. When command is insertHtml, a * SafeHtml must be passed in as value. */ export declare function documentExecCommand(doc: Document, command: Cmd, value?: ValueType): boolean; export {};