import { Component } from 'react'; import { Middleware, UriProps, UriState, XmlProps, XmlState } from './xml'; /** * Moves + merges styles from style elements to element styles * * Options * useMqs (default: ['', 'screen']) * what media queries to be used * empty string element for styles outside media queries * * usePseudos (default: ['']) * what pseudo-classes/-elements to be used * empty string element for all non-pseudo-classes and/or -elements * * @param {Object} document document element * * @author strarsis * @author modified by: msand */ export declare const inlineStyles: Middleware; export declare function SvgCss(props: XmlProps): JSX.Element; export declare function SvgCssUri(props: UriProps): JSX.Element; export declare class SvgWithCss extends Component { state: { ast: null; }; componentDidMount(): void; componentDidUpdate(prevProps: { xml: string | null; }): void; parse(xml: string | null): void; render(): JSX.Element; } export declare class SvgWithCssUri extends Component { state: { xml: null; }; componentDidMount(): void; componentDidUpdate(prevProps: { uri: string | null; }): void; fetch(uri: string | null): Promise; render(): JSX.Element; }