import { Lang, Theme } from 'shiki'; export type Attributes = { code: string; codeHTML: string; language: Lang; theme: Theme; align: 'wide' | 'full'; bgColor: string; textColor: string; fontSize: string; fontFamily: string; lineHeight: string; lineNumbers: boolean; clampFonts: boolean; headerType: string; startingLineNumber: number; frame: boolean; renderType: string; label: string; copyButton: boolean; }; export interface AttributesPropsAndSetter { attributes: Attributes; setAttributes: (attrs: Partial) => void; } declare global { interface Window { codeBlockPro: { pluginUrl: string; }; } }