import type { Application, SVGMark } from '@thematic/core'; import type { CSSProperties } from 'react'; /** * Converts a basic mark config to CSS-compatible object * suitable for merging with other styles that will be added to a component. * The main function here really is to convert fill and stroke colors to use the opacity def. * Note that we return the style attrs as using the deconstructed form, not the CSS shorthand. * @param config - the mark configuration * @param datum - optional data item if the theme has been configured with underlying scales. */ export declare function mark2style(config: SVGMark, datum?: any): CSSProperties; /** * Converts basic Application config to a CSS-compatible object * suitable for merging with other styles that will be added to a component. * @param config - the application configuration */ export declare function application2style(config: Application): CSSProperties;