UNPKG

416 BTypeScriptView Raw
1import { YAMLScalar } from './yamlAST';
2export declare function parseYamlBoolean(input: string): boolean;
3export declare function parseYamlInteger(input: string): number;
4export declare function parseYamlFloat(input: string): number;
5export declare enum ScalarType {
6 null = 0,
7 bool = 1,
8 int = 2,
9 float = 3,
10 string = 4,
11}
12export declare function determineScalarType(node: YAMLScalar): ScalarType;