/** * Puts `text` on the clipboard. Uses the Clipboard API, and a hidden text area with `execCommand('copy')` where the * API is missing or denied (an http page, an old browser). Resolves to whether the text was copied. */ export declare function copyText(text: string, doc?: Document): Promise;