gatsby
Version:
Blazing fast modern site generator for React
18 lines (17 loc) • 503 B
TypeScript
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 {};