/** * Write array of Story objects into Twine 2 Archive HTML. * @see {@link https://github.com/iftechfoundation/twine-specs/blob/master/twine-2-archive-spec.md Twine 2 Archive Specification} * @function compile * @param {Array} stories - Array of Story objects. * @returns {string} Twine 2 Archive HTML. * @example * const story1 = new Story(); * const story2 = new Story(); * const stories = [story1, story2]; * console.log(compile(stories)); * // => '\n\n\n\n' */ export function compile(stories: any[]): string;