@bscotch/gml-parser
Version:
A parser for GML (GameMaker Language) files for programmatic manipulation and analysis of GameMaker projects.
19 lines • 743 B
TypeScript
import type { Dependency, ImportModuleOptions } from './modules.types.js';
import { Asset } from './project.asset.js';
import type { Project } from './project.js';
export type * from './modules.types.js';
/**
* @param sourceFolder Full folder path to import from (e.g. `Scripts/MainMenu`)
*/
export declare function importAssets(sourceProject: Project, targetProject: Project, options?: ImportModuleOptions): Promise<{
created: string[];
updated: string[];
errors: string[];
skipped: string[];
}>;
/**
* Create a map listing all assets in a project and how they
* depend on other assets in same.
*/
export declare function computeAssetDeps(project: Project): Map<Asset, Dependency[]>;
//# sourceMappingURL=modules.d.ts.map