/** * Copy plain text to the clipboard. Prefers the async Clipboard API; falls * back to a short-lived textarea for older embeds / denied permissions. */ export declare function copyTextToClipboard(text: string): Promise; /** * Copy text that is still being prepared, such as a command around a freshly * minted URL. Safari only allows a clipboard write during the click itself, so * hand the pending text to a `ClipboardItem` where supported; otherwise wait * for it and copy. Resolves false when the text failed or nothing was copied. */ export declare function copyPendingTextToClipboard(text: Promise): Promise; /** Serialize an HTML table to tab-separated values (spreadsheet-friendly). */ export declare function tableElementToTsv(table: HTMLTableElement | null | undefined): string;