1 | import type { JSONSchema6, JSONSchema6Definition, JSONSchema6TypeName } from 'json-schema';
|
2 | import type { VariableToType } from './collectVariables';
|
3 | export type { JSONSchema6, JSONSchema6TypeName };
|
4 | export declare type JsonSchemaOptions = {
|
5 | useMarkdownDescription?: boolean;
|
6 | };
|
7 | export declare type JSONSchemaOptions = {
|
8 | useMarkdownDescription?: boolean;
|
9 | };
|
10 | export declare const defaultJSONSchemaOptions: {
|
11 | useMarkdownDescription: boolean;
|
12 | };
|
13 | export declare type MonacoEditorJSONSchema = JSONSchema6 & {
|
14 | markdownDescription?: string;
|
15 | };
|
16 | export declare type CombinedSchema = JSONSchema6 | MonacoEditorJSONSchema;
|
17 | declare type Definitions = {
|
18 | [k: string]: JSONSchema6Definition;
|
19 | };
|
20 | export declare type DefinitionResult = {
|
21 | definition: JSONSchema6 | MonacoEditorJSONSchema;
|
22 | required: boolean;
|
23 | definitions?: Definitions;
|
24 | };
|
25 | export declare function getVariablesJSONSchema(variableToType: VariableToType, options?: JSONSchemaOptions): JSONSchema6;
|
26 |
|
\ | No newline at end of file |