//#region src/-private/warp-drive/generators/shared.d.ts type EntityKind = "adapter" | "serializer"; interface BaseClassResult { importStatement: string; baseClass: string; } /** * Computes the import statement + class name to extend from for a generated * adapter or serializer, mirroring the historical ember-cli blueprint * behavior: if the project already has an `application` adapter/serializer, * new (non-application) files default to extending it instead of the * package's own base class. */ declare function extendFromApplicationEntity(kind: EntityKind, defaultBaseClass: string, options: { cwd: string; entityName: string; isAddon: boolean; baseClass?: string; relativePath?: string; }): BaseClassResult; /** * Best-effort detection of whether the project being generated into is an * ember-addon (as opposed to an app), based on the `keywords`/`ember-addon` * fields in its package.json -- the same signal ember-cli's own * `Project#isEmberCLIAddon()` used. */ declare function isAddonProject(cwd: string): boolean; //#endregion export { BaseClassResult, EntityKind, extendFromApplicationEntity, isAddonProject }; //# sourceMappingURL=shared.d.ts.map