1 | export interface MarkdownExample {
|
2 | type: 'markdown';
|
3 | content: string;
|
4 | settings?: Record<string, any>;
|
5 | }
|
6 | export interface CodeExample {
|
7 | type: 'code';
|
8 | content: string;
|
9 | lang?: string | null;
|
10 | settings?: Record<string, any>;
|
11 | }
|
12 | export interface RuntimeCodeExample extends CodeExample {
|
13 | evalInContext(a: string): () => any;
|
14 | }
|
15 | export declare type Example = RuntimeCodeExample | MarkdownExample;
|