UNPKG

444 BTypeScriptView Raw
1import { Range } from '../nodes/Node.js';
2import { Scalar } from '../nodes/Scalar.js';
3import type { FlowScalar } from '../parse/cst.js';
4import type { ComposeErrorHandler } from './composer.js';
5export declare function resolveFlowScalar(scalar: FlowScalar, strict: boolean, onError: ComposeErrorHandler): {
6 value: string;
7 type: Scalar.PLAIN | Scalar.QUOTE_DOUBLE | Scalar.QUOTE_SINGLE | null;
8 comment: string;
9 range: Range;
10};