UNPKG

haystack-codegen

Version:

Project Haystack Core code generation tools

16 lines (15 loc) 559 B
import { HNamespace } from 'haystack-core'; /** * Resolve the default namespace from defs distributed with the project. * * @returns The default namespace. */ export declare function resolveDefaultNamespace(): Promise<HNamespace>; /** * Resolve the namespace from some POD files. * * @param podDir The directory to read the pod files from. * @param podFilter If non-empty, used to filter certain POD files. * @returns The generated namespace. */ export declare function resolvePodsNamespace(podDir: string, podFilter?: string): Promise<HNamespace>;