import type { SvelteComponentTyped } from "svelte"; import type { HTMLAttributes } from "svelte/elements"; import type { LangtagProps } from "./Highlight.svelte"; export type HighlightSvelteProps = HTMLAttributes & LangtagProps & { /** * Specify the text to highlight. */ code: any; }; export type HighlightSvelteEvents = { highlight: CustomEvent<{ /** * The highlighted HTML as a string. * @example "..." */ highlighted: string; }>; }; export type HighlightSvelteSlots = { default: { /** * The highlighted HTML as a string. * @example "..." */ highlighted: string; }; }; export default class HighlightSvelte extends SvelteComponentTyped< HighlightSvelteProps, HighlightSvelteEvents, HighlightSvelteSlots > {}