@stoplight/elements-core
Version:
[](https://meta.stoplight.io/docs/elements) [](./LICENSE)
15 lines (14 loc) • 612 B
TypeScript
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;