import type { Editor } from 'mem-fs-editor'; import type { Fragment } from './types.js'; /** * Generate a standalone fragment file with default content. * Does NOT modify manifest.json - fragment-only generation. * * @param {string} basePath - the base path * @param {Fragment} fragment - fragment generation configuration * @param {Editor} [fs] - the mem-fs editor instance * @returns {Promise} the updated mem-fs editor instance * @throws {Error} if the project folder is invalid or manifest.json cannot be found * @throws {Error} if sap.fe.templates is missing from manifest.json dependencies (only FPM projects are supported) * @throws {Error} if fragment.folder is an absolute path or contains path traversal sequences (..) * @throws {Error} if fragment.name is an absolute path or contains path traversal sequences (..) */ export declare function generateFragment(basePath: string, fragment: Fragment, fs?: Editor): Promise; //# sourceMappingURL=index.d.ts.map