import { ThemeWithVariants, Theme } from '@dojo/framework/core/interfaces'; import './main.css'; export interface ConfigThemes { label: string; theme: Theme | ThemeWithVariants; } export interface WidgetConfig { filename?: string; overview: { example: WidgetExampleConfig; }; examples?: WidgetExampleConfig[]; } export interface WidgetExampleConfig { filename: string; module: any; title?: string; description?: any; size?: string; sandbox?: boolean; overview?: true; } export declare type WidgetConfigMap = { [index: string]: WidgetExampleConfig[]; }; export interface Config { name: string; themes: ConfigThemes[]; tests?: any; home: string; readmePath: (widget: string) => string; widgetPath: (widget: string) => string; examplePath: (widget: string, filename: string) => string; codesandboxPath?: (widget: string, filename: string, themeName?: string) => string; widgets?: { [index: string]: WidgetExampleConfig[] | WidgetConfig; }; } export interface TransformedConfig { name: string; themes: ConfigThemes[]; tests?: any; home: string; readmePath: (widget: string) => string; widgetPath: (widget: string) => string; examplePath: (widget: string, filename: string) => string; codesandboxPath?: (widget: string, filename: string, themeName?: string) => string; widgets?: WidgetConfigMap; } declare const _default: ({ config }: { config: Config; }) => void; export default _default;