import { LitElement, TemplateResult } from 'lit'; /** * @csspart copy-button - copy button * * @cssprop --code-button-active-color - button background when focused * @cssprop [--code-button-background=var(--markdown-table-row-odd-background-color)] - button background * @cssprop [--code-button-color=inherit] - button text color * @cssprop [--code-button-focus-background=var(--primary-lines-color)] - button background when focused * @cssprop [--code-button-focus-color=inherit] - button text color when focused * @cssprop [--code-border-radius=6px] - border radius for code-copy and code-tabs * * @slot copy-icon - Button content * @slot success-icon - Button content which alerts on copying. Use `role="alert"` if overriding default. * @event {CustomEvent} copy - when successfully copying */ export declare class CodeCopy extends LitElement { static readonly is = "code-copy"; static readonly styles: import("lit").CSSResult[]; static readonly shadowRootOptions: ShadowRootInit; static copyIcon: TemplateResult<1>; /** The element to copy text from. */ host: HTMLElement; success: string; /** Number of milliseconds to wait after successfully copying before restoring the copy button's icon to 'pending'. */ timeout: number; render(): TemplateResult; private onCopy; }