/** * Copies a code snippet to the clipboard as both HTML and plain text. * * @param code - The code string to copy. * @param language - Optional language hint for the `class` attribute on the `` element. * @returns `true` when the copy succeeded. * * @example * console.log(await copyCode('const x = 1', 'javascript')) * * @since 1.0.0 */ declare const copyCode: (code: string, language?: string) => Promise; export default copyCode;