import { ComponentType as CT } from 'react'; import { Database, ThemeConfig, TransformFn, Entry } from './state'; export interface ThemeProps { db: Database; currentEntry: Entry; children(WrappedComponent: CT): JSX.Element; } export declare function theme(themeConfig: ThemeConfig, transform?: TransformFn): (WrappedComponent: CT) => CT;