/** * @license * Copyright (C) 2016 Chi Vinh Le and contributors. * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ import { JSS, StyleSheetOptions } from "jss"; export declare type ThemeCallback = (theme?: TThemeVars) => TTheme; export declare type ThemeFactory = (vars: TThemeVars, jss: JSS) => TTheme; export declare function createThemeFactory(callback: ThemeCallback, options?: StyleSheetOptions): ThemeFactory;