/** * The class of the Copy button the post transform writes into every code * block (`teleport-plugin-next-data-source/src/transformations/code-copy.ts`); * paired with the GUI's `CODE_COPY_BUTTON_CLASS` in * `features/blog/utils/post-body-styles.ts`, which styles it. */ export declare const CODE_COPY_BUTTON_CLASS = "tq-code-copy"; /** * The one script a content site ships for its code blocks: a click on a Copy * button puts the block's code on the clipboard and shows "Copied" for a * moment (`data-copied="true"`, which the block's rules can colour). The code * is the `pre`'s text without the button's own label; a trailing line break * is left out, so a pasted block ends where the code does. * * One listener on the document, so it serves every block the page renders, * those a later navigation renders included. Older browsers without the * clipboard API copy through a hidden text area. */ export declare const CODE_COPY_RUNTIME_SOURCE: string; //# sourceMappingURL=code-copy-runtime-source.d.ts.map