@yandex/themekit
Version:
Build system of design-tokens for any platforms
23 lines (22 loc) • 500 B
TypeScript
import type { Output } from '@yandex/themekit-core';
interface CliOutput extends Output {
buildPath: string;
}
export interface Config {
/**
* A set of themes.
*/
entry: Record<string, string>;
/**
* A set of output files.
*/
output: Record<string, CliOutput>;
}
/**
* Loads config with one of available extensions (js, json, yaml).
*
* @param path - Config path.
* @returns Config.
*/
export declare function loadConfig(path: string): Config;
export {};