UNPKG

@alauda/doom

Version:

Doctor Doom making docs.

7 lines (6 loc) 563 B
import type { StringMapper } from '../shared/types.ts'; export declare const baseResolve: (...paths: string[]) => string; export declare const pkgResolve: (...paths: string[]) => string; export declare const resolveStaticConfig: <T = unknown>(filepath: string) => Promise<T>; export declare function generateRuntimeModule<T, R = T>(patterns: string[] | undefined, kind: string, root: string, cwd: string, isProd: boolean, mapper?: (input: T) => R | Promise<R>): Promise<StringMapper>; export declare const setNodeEnv: (env: "development" | "production") => void;