import type { CSSResultOrNative } from 'lit'
import { customElement } from 'lit/decorators.js'
import Element from './PrismHighlight.js'
import prismStyles from './Prism.styles.js'
import styles from './PrismHighlight.styles.js'

@customElement('prism-highlight')
export class PrismHighlightElement extends Element {
  static override styles: CSSResultOrNative[] = [prismStyles, styles]
}

declare global {
  interface HTMLElementTagNameMap {
    'prism-highlight': PrismHighlightElement
  }
}
