UNPKG

363 BTypeScriptView Raw
1import { Scalar } from '../nodes/Scalar.js';
2import type { StringifyContext } from './stringify.js';
3interface StringifyScalar {
4 value: string;
5 comment?: string | null;
6 type?: string;
7}
8export declare function stringifyString(item: Scalar | StringifyScalar, ctx: StringifyContext, onComment?: () => void, onChompKeep?: () => void): string;
9export {};