@types/react-syntax-highlighter
Version:
TypeScript definitions for react-syntax-highlighter
1,227 lines (1,019 loc) • 193 kB
TypeScript
type lineNumberStyleFunction = (lineNumber: number) => React.CSSProperties;
type lineTagPropsFunction = (lineNumber: number) => React.HTMLProps<HTMLElement>;
interface rendererNode {
type: "element" | "text";
value?: string | number | undefined;
tagName?: keyof React.JSX.IntrinsicElements | React.ComponentType<any> | undefined;
properties?: { className: any[]; [key: string]: any };
children?: rendererNode[];
}
interface rendererProps {
rows: rendererNode[];
stylesheet: { [key: string]: React.CSSProperties };
useInlineStyles: boolean;
}
declare module "react-syntax-highlighter" {
export interface SyntaxHighlighterProps {
language?: string | undefined;
style?: { [key: string]: React.CSSProperties } | undefined;
children: string | string[];
customStyle?: React.CSSProperties | undefined;
codeTagProps?: React.HTMLProps<HTMLElement> | undefined;
useInlineStyles?: boolean | undefined;
showLineNumbers?: boolean | undefined;
showInlineLineNumbers?: boolean | undefined;
startingLineNumber?: number | undefined;
lineNumberContainerStyle?: React.CSSProperties | undefined;
lineNumberStyle?: React.CSSProperties | lineNumberStyleFunction | undefined;
wrapLines?: boolean | undefined;
wrapLongLines?: boolean | undefined;
lineProps?: lineTagPropsFunction | React.HTMLProps<HTMLElement> | undefined;
renderer?: (props: rendererProps) => React.ReactNode;
PreTag?: keyof React.JSX.IntrinsicElements | React.ComponentType<any> | undefined;
CodeTag?: keyof React.JSX.IntrinsicElements | React.ComponentType<any> | undefined;
[spread: string]: any;
}
export interface createElementProps {
node: rendererNode;
stylesheet: { [key: string]: React.CSSProperties };
style?: React.CSSProperties;
useInlineStyles: boolean;
key: React.Key;
}
export { default } from "react-syntax-highlighter/dist/esm/default-highlight";
export { default as LightAsync } from "react-syntax-highlighter/dist/esm/light-async";
export { default as Light } from "react-syntax-highlighter/dist/esm/light";
export { default as PrismAsyncLight } from "react-syntax-highlighter/dist/esm/prism-async-light";
export { default as PrismAsync } from "react-syntax-highlighter/dist/esm/prism-async";
export { default as PrismLight } from "react-syntax-highlighter/dist/esm/prism-light";
export { default as Prism } from "react-syntax-highlighter/dist/esm/prism";
export { default as createElement } from "react-syntax-highlighter/dist/esm/create-element";
}
// esm start
declare module "react-syntax-highlighter/dist/esm/default-highlight" {
import * as React from "react";
import { SyntaxHighlighterProps } from "react-syntax-highlighter";
export default class SyntaxHighlighter extends React.Component<SyntaxHighlighterProps> {
static supportedLanguages: string[];
}
}
declare module "react-syntax-highlighter/dist/esm/light-async" {
import * as React from "react";
import { SyntaxHighlighterProps } from "react-syntax-highlighter";
export default class SyntaxHighlighter extends React.Component<SyntaxHighlighterProps> {
static registerLanguage(name: string, func: any): void;
}
}
declare module "react-syntax-highlighter/dist/esm/light" {
import * as React from "react";
import { SyntaxHighlighterProps } from "react-syntax-highlighter";
export default class SyntaxHighlighter extends React.Component<SyntaxHighlighterProps> {
static registerLanguage(name: string, func: any): void;
}
}
declare module "react-syntax-highlighter/dist/esm/prism-async-light" {
import * as React from "react";
import { SyntaxHighlighterProps } from "react-syntax-highlighter";
export default class SyntaxHighlighter extends React.Component<SyntaxHighlighterProps> {
static registerLanguage(name: string, func: any): void;
}
}
declare module "react-syntax-highlighter/dist/esm/prism-async" {
import * as React from "react";
import { SyntaxHighlighterProps } from "react-syntax-highlighter";
export default class SyntaxHighlighter extends React.Component<SyntaxHighlighterProps> {}
}
declare module "react-syntax-highlighter/dist/esm/prism-light" {
import * as React from "react";
import { SyntaxHighlighterProps } from "react-syntax-highlighter";
export default class SyntaxHighlighter extends React.Component<SyntaxHighlighterProps> {
static registerLanguage(name: string, func: any): void;
static alias(name: string, alias: string | string[]): void;
static alias(aliases: Record<string, string | string[]>): void;
}
}
declare module "react-syntax-highlighter/dist/esm/prism" {
import * as React from "react";
import { SyntaxHighlighterProps } from "react-syntax-highlighter";
export default class SyntaxHighlighter extends React.Component<SyntaxHighlighterProps> {
static supportedLanguages: string[];
}
}
declare module "react-syntax-highlighter/dist/esm/create-element" {
import * as React from "react";
import { createElementProps } from "react-syntax-highlighter";
function createElement(props: createElementProps): React.ReactNode;
export default createElement;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs" {
export { default as a11yDark } from "react-syntax-highlighter/dist/esm/styles/hljs/a11y-dark";
export { default as a11yLight } from "react-syntax-highlighter/dist/esm/styles/hljs/a11y-light";
export { default as agate } from "react-syntax-highlighter/dist/esm/styles/hljs/agate";
export { default as anOldHope } from "react-syntax-highlighter/dist/esm/styles/hljs/an-old-hope";
export { default as androidstudio } from "react-syntax-highlighter/dist/esm/styles/hljs/androidstudio";
export { default as arduinoLight } from "react-syntax-highlighter/dist/esm/styles/hljs/arduino-light";
export { default as arta } from "react-syntax-highlighter/dist/esm/styles/hljs/arta";
export { default as ascetic } from "react-syntax-highlighter/dist/esm/styles/hljs/ascetic";
export { default as atelierCaveDark } from "react-syntax-highlighter/dist/esm/styles/hljs/atelier-cave-dark";
export { default as atelierCaveLight } from "react-syntax-highlighter/dist/esm/styles/hljs/atelier-cave-light";
export { default as atelierDuneDark } from "react-syntax-highlighter/dist/esm/styles/hljs/atelier-dune-dark";
export { default as atelierDuneLight } from "react-syntax-highlighter/dist/esm/styles/hljs/atelier-dune-light";
export { default as atelierEstuaryDark } from "react-syntax-highlighter/dist/esm/styles/hljs/atelier-estuary-dark";
export { default as atelierEstuaryLight } from "react-syntax-highlighter/dist/esm/styles/hljs/atelier-estuary-light";
export { default as atelierForestDark } from "react-syntax-highlighter/dist/esm/styles/hljs/atelier-forest-dark";
export { default as atelierForestLight } from "react-syntax-highlighter/dist/esm/styles/hljs/atelier-forest-light";
export { default as atelierHeathDark } from "react-syntax-highlighter/dist/esm/styles/hljs/atelier-heath-dark";
export { default as atelierHeathLight } from "react-syntax-highlighter/dist/esm/styles/hljs/atelier-heath-light";
export { default as atelierLakesideDark } from "react-syntax-highlighter/dist/esm/styles/hljs/atelier-lakeside-dark";
export { default as atelierLakesideLight } from "react-syntax-highlighter/dist/esm/styles/hljs/atelier-lakeside-light";
export { default as atelierPlateauDark } from "react-syntax-highlighter/dist/esm/styles/hljs/atelier-plateau-dark";
export { default as atelierPlateauLight } from "react-syntax-highlighter/dist/esm/styles/hljs/atelier-plateau-light";
export { default as atelierSavannaDark } from "react-syntax-highlighter/dist/esm/styles/hljs/atelier-savanna-dark";
export { default as atelierSavannaLight } from "react-syntax-highlighter/dist/esm/styles/hljs/atelier-savanna-light";
export { default as atelierSeasideDark } from "react-syntax-highlighter/dist/esm/styles/hljs/atelier-seaside-dark";
export { default as atelierSeasideLight } from "react-syntax-highlighter/dist/esm/styles/hljs/atelier-seaside-light";
export { default as atelierSulphurpoolDark } from "react-syntax-highlighter/dist/esm/styles/hljs/atelier-sulphurpool-dark";
export { default as atelierSulphurpoolLight } from "react-syntax-highlighter/dist/esm/styles/hljs/atelier-sulphurpool-light";
export { default as atomOneDarkReasonable } from "react-syntax-highlighter/dist/esm/styles/hljs/atom-one-dark-reasonable";
export { default as atomOneDark } from "react-syntax-highlighter/dist/esm/styles/hljs/atom-one-dark";
export { default as atomOneLight } from "react-syntax-highlighter/dist/esm/styles/hljs/atom-one-light";
export { default as brownPaper } from "react-syntax-highlighter/dist/esm/styles/hljs/brown-paper";
export { default as codepenEmbed } from "react-syntax-highlighter/dist/esm/styles/hljs/codepen-embed";
export { default as colorBrewer } from "react-syntax-highlighter/dist/esm/styles/hljs/color-brewer";
export { default as darcula } from "react-syntax-highlighter/dist/esm/styles/hljs/darcula";
export { default as dark } from "react-syntax-highlighter/dist/esm/styles/hljs/dark";
export { default as defaultStyle } from "react-syntax-highlighter/dist/esm/styles/hljs/default-style";
export { default as docco } from "react-syntax-highlighter/dist/esm/styles/hljs/docco";
export { default as dracula } from "react-syntax-highlighter/dist/esm/styles/hljs/dracula";
export { default as far } from "react-syntax-highlighter/dist/esm/styles/hljs/far";
export { default as foundation } from "react-syntax-highlighter/dist/esm/styles/hljs/foundation";
export { default as githubGist } from "react-syntax-highlighter/dist/esm/styles/hljs/github-gist";
export { default as github } from "react-syntax-highlighter/dist/esm/styles/hljs/github";
export { default as gml } from "react-syntax-highlighter/dist/esm/styles/hljs/gml";
export { default as googlecode } from "react-syntax-highlighter/dist/esm/styles/hljs/googlecode";
export { default as gradientDark } from "react-syntax-highlighter/dist/esm/styles/hljs/gradient-dark";
export { default as grayscale } from "react-syntax-highlighter/dist/esm/styles/hljs/grayscale";
export { default as gruvboxDark } from "react-syntax-highlighter/dist/esm/styles/hljs/gruvbox-dark";
export { default as gruvboxLight } from "react-syntax-highlighter/dist/esm/styles/hljs/gruvbox-light";
export { default as hopscotch } from "react-syntax-highlighter/dist/esm/styles/hljs/hopscotch";
export { default as hybrid } from "react-syntax-highlighter/dist/esm/styles/hljs/hybrid";
export { default as idea } from "react-syntax-highlighter/dist/esm/styles/hljs/idea";
export { default as irBlack } from "react-syntax-highlighter/dist/esm/styles/hljs/ir-black";
export { default as isblEditorDark } from "react-syntax-highlighter/dist/esm/styles/hljs/isbl-editor-dark";
export { default as isblEditorLight } from "react-syntax-highlighter/dist/esm/styles/hljs/isbl-editor-light";
export { default as kimbieDark } from "react-syntax-highlighter/dist/esm/styles/hljs/kimbie.dark";
export { default as kimbieLight } from "react-syntax-highlighter/dist/esm/styles/hljs/kimbie.light";
export { default as lightfair } from "react-syntax-highlighter/dist/esm/styles/hljs/lightfair";
export { default as lioshi } from "react-syntax-highlighter/dist/esm/styles/hljs/lioshi";
export { default as magula } from "react-syntax-highlighter/dist/esm/styles/hljs/magula";
export { default as monoBlue } from "react-syntax-highlighter/dist/esm/styles/hljs/mono-blue";
export { default as monokaiSublime } from "react-syntax-highlighter/dist/esm/styles/hljs/monokai-sublime";
export { default as monokai } from "react-syntax-highlighter/dist/esm/styles/hljs/monokai";
export { default as nightOwl } from "react-syntax-highlighter/dist/esm/styles/hljs/night-owl";
export { default as nnfxDark } from "react-syntax-highlighter/dist/esm/styles/hljs/nnfx-dark";
export { default as nnfx } from "react-syntax-highlighter/dist/esm/styles/hljs/nnfx";
export { default as nord } from "react-syntax-highlighter/dist/esm/styles/hljs/nord";
export { default as obsidian } from "react-syntax-highlighter/dist/esm/styles/hljs/obsidian";
export { default as ocean } from "react-syntax-highlighter/dist/esm/styles/hljs/ocean";
export { default as paraisoDark } from "react-syntax-highlighter/dist/esm/styles/hljs/paraiso-dark";
export { default as paraisoLight } from "react-syntax-highlighter/dist/esm/styles/hljs/paraiso-light";
export { default as pojoaque } from "react-syntax-highlighter/dist/esm/styles/hljs/pojoaque";
export { default as purebasic } from "react-syntax-highlighter/dist/esm/styles/hljs/purebasic";
export { default as qtcreatorDark } from "react-syntax-highlighter/dist/esm/styles/hljs/qtcreator_dark";
export { default as qtcreatorLight } from "react-syntax-highlighter/dist/esm/styles/hljs/qtcreator_light";
export { default as railscasts } from "react-syntax-highlighter/dist/esm/styles/hljs/railscasts";
export { default as rainbow } from "react-syntax-highlighter/dist/esm/styles/hljs/rainbow";
export { default as routeros } from "react-syntax-highlighter/dist/esm/styles/hljs/routeros";
export { default as schoolBook } from "react-syntax-highlighter/dist/esm/styles/hljs/school-book";
export { default as shadesOfPurple } from "react-syntax-highlighter/dist/esm/styles/hljs/shades-of-purple";
export { default as solarizedDark } from "react-syntax-highlighter/dist/esm/styles/hljs/solarized-dark";
export { default as solarizedLight } from "react-syntax-highlighter/dist/esm/styles/hljs/solarized-light";
export { default as srcery } from "react-syntax-highlighter/dist/esm/styles/hljs/srcery";
export { default as stackoverflowDark } from "react-syntax-highlighter/dist/esm/styles/hljs/stackoverflow-dark";
export { default as stackoverflowLight } from "react-syntax-highlighter/dist/esm/styles/hljs/stackoverflow-light";
export { default as sunburst } from "react-syntax-highlighter/dist/esm/styles/hljs/sunburst";
export { default as tomorrowNightBlue } from "react-syntax-highlighter/dist/esm/styles/hljs/tomorrow-night-blue";
export { default as tomorrowNightBright } from "react-syntax-highlighter/dist/esm/styles/hljs/tomorrow-night-bright";
export { default as tomorrowNightEighties } from "react-syntax-highlighter/dist/esm/styles/hljs/tomorrow-night-eighties";
export { default as tomorrowNight } from "react-syntax-highlighter/dist/esm/styles/hljs/tomorrow-night";
export { default as tomorrow } from "react-syntax-highlighter/dist/esm/styles/hljs/tomorrow";
export { default as vs } from "react-syntax-highlighter/dist/esm/styles/hljs/vs";
export { default as vs2015 } from "react-syntax-highlighter/dist/esm/styles/hljs/vs2015";
export { default as xcode } from "react-syntax-highlighter/dist/esm/styles/hljs/xcode";
export { default as xt256 } from "react-syntax-highlighter/dist/esm/styles/hljs/xt256";
export { default as zenburn } from "react-syntax-highlighter/dist/esm/styles/hljs/zenburn";
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/a11y-dark" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/a11y-light" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/agate" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/an-old-hope" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/androidstudio" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/arduino-light" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/arta" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/ascetic" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/atelier-cave-dark" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/atelier-cave-light" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/atelier-dune-dark" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/atelier-dune-light" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/atelier-estuary-dark" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/atelier-estuary-light" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/atelier-forest-dark" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/atelier-forest-light" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/atelier-heath-dark" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/atelier-heath-light" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/atelier-lakeside-dark" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/atelier-lakeside-light" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/atelier-plateau-dark" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/atelier-plateau-light" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/atelier-savanna-dark" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/atelier-savanna-light" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/atelier-seaside-dark" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/atelier-seaside-light" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/atelier-sulphurpool-dark" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/atelier-sulphurpool-light" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/atom-one-dark-reasonable" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/atom-one-dark" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/atom-one-light" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/brown-paper" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/codepen-embed" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/color-brewer" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/darcula" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/dark" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/darkula" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/default-style" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/docco" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/dracula" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/far" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/foundation" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/github-gist" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/github" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/gml" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/googlecode" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/gradient-dark" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/grayscale" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/gruvbox-dark" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/gruvbox-light" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/hopscotch" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/hybrid" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/idea" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/ir-black" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/isbl-editor-dark" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/isbl-editor-light" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/kimbie.dark" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/kimbie.light" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/lightfair" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/lioshi" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/magula" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/mono-blue" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/monokai-sublime" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/monokai" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/night-owl" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/nnfx-dark" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/nnfx" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/nord" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/obsidian" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/ocean" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/paraiso-dark" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/paraiso-light" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/pojoaque" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/purebasic" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/qtcreator_dark" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/qtcreator_light" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/railscasts" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/rainbow" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/routeros" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/school-book" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/shades-of-purple" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/solarized-dark" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/solarized-light" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/srcery" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/stackoverflow-dark" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/stackoverflow-light" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/sunburst" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/tomorrow-night-blue" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/tomorrow-night-bright" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/tomorrow-night-eighties" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/tomorrow-night" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/tomorrow" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/vs" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/vs2015" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/xcode" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/xt256" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/hljs/zenburn" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/prism" {
export { default as a11yDark } from "react-syntax-highlighter/dist/esm/styles/prism/a11y-dark";
export { default as atomDark } from "react-syntax-highlighter/dist/esm/styles/prism/atom-dark";
export { default as base16AteliersulphurpoolLight } from "react-syntax-highlighter/dist/esm/styles/prism/base16-ateliersulphurpool.light";
export { default as cb } from "react-syntax-highlighter/dist/esm/styles/prism/cb";
export { default as coldarkCold } from "react-syntax-highlighter/dist/esm/styles/prism/coldark-cold";
export { default as coldarkDark } from "react-syntax-highlighter/dist/esm/styles/prism/coldark-dark";
export { default as coyWithoutShadows } from "react-syntax-highlighter/dist/esm/styles/prism/coy-without-shadows";
export { default as coy } from "react-syntax-highlighter/dist/esm/styles/prism/coy";
export { default as darcula } from "react-syntax-highlighter/dist/esm/styles/prism/darcula";
export { default as dark } from "react-syntax-highlighter/dist/esm/styles/prism/dark";
export { default as dracula } from "react-syntax-highlighter/dist/esm/styles/prism/dracula";
export { default as duotoneDark } from "react-syntax-highlighter/dist/esm/styles/prism/duotone-dark";
export { default as duotoneEarth } from "react-syntax-highlighter/dist/esm/styles/prism/duotone-earth";
export { default as duotoneForest } from "react-syntax-highlighter/dist/esm/styles/prism/duotone-forest";
export { default as duotoneLight } from "react-syntax-highlighter/dist/esm/styles/prism/duotone-light";
export { default as duotoneSea } from "react-syntax-highlighter/dist/esm/styles/prism/duotone-sea";
export { default as duotoneSpace } from "react-syntax-highlighter/dist/esm/styles/prism/duotone-space";
export { default as funky } from "react-syntax-highlighter/dist/esm/styles/prism/funky";
export { default as ghcolors } from "react-syntax-highlighter/dist/esm/styles/prism/ghcolors";
export { default as gruvboxDark } from "react-syntax-highlighter/dist/esm/styles/prism/gruvbox-dark";
export { default as gruvboxLight } from "react-syntax-highlighter/dist/esm/styles/prism/gruvbox-light";
export { default as holiTheme } from "react-syntax-highlighter/dist/esm/styles/prism/holi-theme";
export { default as hopscotch } from "react-syntax-highlighter/dist/esm/styles/prism/hopscotch";
export { default as lucario } from "react-syntax-highlighter/dist/esm/styles/prism/lucario";
export { default as materialDark } from "react-syntax-highlighter/dist/esm/styles/prism/material-dark";
export { default as materialLight } from "react-syntax-highlighter/dist/esm/styles/prism/material-light";
export { default as materialOceanic } from "react-syntax-highlighter/dist/esm/styles/prism/material-oceanic";
export { default as nightOwl } from "react-syntax-highlighter/dist/esm/styles/prism/night-owl";
export { default as nord } from "react-syntax-highlighter/dist/esm/styles/prism/nord";
export { default as okaidia } from "react-syntax-highlighter/dist/esm/styles/prism/okaidia";
export { default as oneDark } from "react-syntax-highlighter/dist/esm/styles/prism/one-dark";
export { default as oneLight } from "react-syntax-highlighter/dist/esm/styles/prism/one-light";
export { default as pojoaque } from "react-syntax-highlighter/dist/esm/styles/prism/pojoaque";
export { default as prism } from "react-syntax-highlighter/dist/esm/styles/prism/prism";
export { default as shadesOfPurple } from "react-syntax-highlighter/dist/esm/styles/prism/shades-of-purple";
export { default as solarizedDarkAtom } from "react-syntax-highlighter/dist/esm/styles/prism/solarized-dark-atom";
export { default as solarizedlight } from "react-syntax-highlighter/dist/esm/styles/prism/solarizedlight";
export { default as synthwave84 } from "react-syntax-highlighter/dist/esm/styles/prism/synthwave84";
export { default as tomorrow } from "react-syntax-highlighter/dist/esm/styles/prism/tomorrow";
export { default as twilight } from "react-syntax-highlighter/dist/esm/styles/prism/twilight";
export { default as vs } from "react-syntax-highlighter/dist/esm/styles/prism/vs";
export { default as vscDarkPlus } from "react-syntax-highlighter/dist/esm/styles/prism/vsc-dark-plus";
export { default as xonokai } from "react-syntax-highlighter/dist/esm/styles/prism/xonokai";
export { default as zTouch } from "react-syntax-highlighter/dist/esm/styles/prism/z-touch";
}
declare module "react-syntax-highlighter/dist/esm/styles/prism/a11y-dark" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/prism/atom-dark" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/prism/base16-ateliersulphurpool.light" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/prism/cb" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/prism/coldark-cold" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/prism/coldark-dark" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/prism/coy-without-shadows" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/prism/coy" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/prism/darcula" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/prism/dark" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/prism/dracula" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/prism/duotone-dark" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/prism/duotone-earth" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/prism/duotone-forest" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/prism/duotone-light" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/prism/duotone-sea" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/prism/duotone-space" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/prism/funky" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/prism/ghcolors" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/prism/gruvbox-dark" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/prism/gruvbox-light" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/prism/holi-theme" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/prism/hopscotch" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/prism/lucario" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/prism/material-dark" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/prism/material-light" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/prism/material-oceanic" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/prism/night-owl" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/prism/nord" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/prism/okaidia" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/prism/one-light" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/prism/one-dark" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/prism/pojoaque" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/prism/prism" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/prism/shades-of-purple" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/prism/solarized-dark-atom" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/prism/solarizedlight" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/prism/synthwave84" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/prism/tomorrow" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/prism/twilight" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/prism/vs" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/prism/vsc-dark-plus" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/prism/xonokai" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/styles/prism/z-touch" {
const style: { [key: string]: React.CSSProperties };
export default style;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/1c" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/abnf" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/accesslog" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/actionscript" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/ada" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/angelscript" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/apache" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/applescript" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/arcade" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/arduino" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/armasm" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/asciidoc" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/aspectj" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/autohotkey" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/autoit" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/avrasm" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/awk" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/axapta" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/bash" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/basic" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/bnf" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/brainfuck" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/c-like" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/c" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/cal" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/capnproto" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/ceylon" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/clean" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/clojure-repl" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/clojure" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/cmake" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/coffeescript" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/coq" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/cos" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/cpp" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/crmsh" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/crystal" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/cs" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/csharp" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/csp" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/css" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/d" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/dart" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/delphi" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/diff" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/django" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/dns" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/dockerfile" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/dos" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/dsconfig" {
const language: any;
export default language;
}
declare module "react-syntax-highlighter/dist/esm/languages/hljs/dts" {
const language: any;
export default language;
}