You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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