devsite/node_modules/yaml/dist/stringify/stringifyCollection.d.ts

18 lines
524 B
TypeScript
Raw Permalink Normal View History

2024-07-08 01:49:38 +00:00
import { Collection } from '../nodes/Collection.js';
import { StringifyContext } from './stringify.js';
interface StringifyCollectionOptions {
blockItemPrefix: string;
flowChars: {
start: '{';
end: '}';
} | {
start: '[';
end: ']';
};
itemIndent: string;
onChompKeep?: () => void;
onComment?: () => void;
}
export declare function stringifyCollection(collection: Readonly<Collection>, ctx: StringifyContext, options: StringifyCollectionOptions): string;
export {};