securityos/node_modules/yaml/dist/compose/resolve-block-scalar.d.ts

11 lines
433 B
TypeScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
import { Range } from '../nodes/Node.js';
import { Scalar } from '../nodes/Scalar.js';
import type { BlockScalar } from '../parse/cst.js';
import type { ComposeErrorHandler } from './composer.js';
export declare function resolveBlockScalar(scalar: BlockScalar, strict: boolean, onError: ComposeErrorHandler): {
value: string;
type: Scalar.BLOCK_FOLDED | Scalar.BLOCK_LITERAL | null;
comment: string;
range: Range;
};