UNPKG

@stoplight/elements-core

Version:

[![docs](https://img.shields.io/badge/API%20Docs-site-green.svg?style=flat-square)](https://meta.stoplight.io/docs/elements) [![license](https://img.shields.io/npm/l/@stoplight/elements?style=flat-square)](./LICENSE)

15 lines (14 loc) • 612 B
import { CodeViewerLanguage } from '@stoplight/mosaic-code-viewer'; import { Dictionary } from '@stoplight/types'; export declare type SupportedLanguage = string; export declare type SupportedLibrary = string; export interface LibraryConfig { httpSnippetLibrary: string; } export interface LanguageConfig { mosaicCodeViewerLanguage: CodeViewerLanguage; httpSnippetLanguage: string; libraries?: Dictionary<LibraryConfig, SupportedLibrary>; } export declare type RequestSampleConfigs = Dictionary<LanguageConfig, SupportedLanguage>; export declare const requestSampleConfigs: RequestSampleConfigs;