UNPKG

gatsby

Version:
18 lines (17 loc) 503 B
import { IGatsbyConfigInput, PluginEntry } from "../../utils/merge-gatsby-config"; interface IThemeObj { themeName: string; themeConfig: IGatsbyConfigInput; themeDir: string; themeSpec: PluginEntry; parentDir: string; configFilePath?: string; } export declare function loadThemes(config: IGatsbyConfigInput, { configFilePath, rootDir }: { configFilePath: string; rootDir: string; }): Promise<{ config: IGatsbyConfigInput; themes: Array<IThemeObj>; }>; export {};