///
import { DetailedHTMLProps } from 'react';
import { ElementType } from 'react';
import { FastOmit } from 'styled-components';
import { HTMLAttributes } from 'react';
import { IStyledComponentBase } from 'styled-components/dist/types';
import { RuleSet } from 'styled-components';
import { SerializedStyles } from '@emotion/react';
import { StyledComponent } from '@emotion/styled';
import { Theme } from '@emotion/react';
/**
* Add styles to the provided element.
*
* This is useful when using the pure dom to control styles.
*
* ```ts
* import { createDomManager, createDomEditor } from 'remirror/dom';
* import { BoldExtension } from 'remirror/extensions';
* import { addStylesToElement, allStyles } from 'remirror/styles/dom';
*
* const manager = createDomManager(() => [new BoldExtension()]);
* const wrapperElement = document.createElement('div');
* const editor = createDomEditor({ manager, element: wrapperElement });
*
* addStylesToElement(wrapperElement, allStyles); // Styles added to element.
* ```
*
* The above snippet will add all styles to the element and all elements it
* contains.
*/
declare function addStylesToElement(element: Element, css: string): void;
export { addStylesToElement }
export { addStylesToElement as addStylesToElement_alias_1 }
export declare const AllStyledComponent: StyledComponent< {
theme?: Theme | undefined;
as?: ElementType | undefined;
}, DetailedHTMLProps, HTMLDivElement>, {}>;
export declare const AllStyledComponent_alias_1: IStyledComponentBase<"web", FastOmit, HTMLDivElement>, never>> & string;
export declare const allStyledCss: string;
export declare const allStyledCss_alias_1: SerializedStyles;
export declare const allStyledCss_alias_2: RuleSet