This repository has been archived on 2024-11-13. You can view files and clone it, but cannot push or open issues or pull requests.
fediversity.eu/node_modules/yaml/dist/stringify/stringifyCollection.d.ts
2024-03-26 16:28:28 +01:00

18 lines
524 B
TypeScript

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 {};