import { FlattenSimpleInterpolation } from 'styled-components'; import { AnyTheme, Interpolation, ThemedProps } from '../types'; type ProseElementSelectors = { h1?: string | FlattenSimpleInterpolation; h2?: string | FlattenSimpleInterpolation; h3?: string | FlattenSimpleInterpolation; h4?: string | FlattenSimpleInterpolation; h5?: string | FlattenSimpleInterpolation; h6?: string | FlattenSimpleInterpolation; ul?: string | FlattenSimpleInterpolation; ol?: string | FlattenSimpleInterpolation; dl?: string | FlattenSimpleInterpolation; p?: string | FlattenSimpleInterpolation; figure?: string | FlattenSimpleInterpolation; img?: string | FlattenSimpleInterpolation; pre?: string | FlattenSimpleInterpolation; table?: string | FlattenSimpleInterpolation; fieldset?: string | FlattenSimpleInterpolation; hr?: string | FlattenSimpleInterpolation; blockquote?: string | FlattenSimpleInterpolation; }; type ProseConfiguration = { elementSelectors?: ProseElementSelectors; }; /** * Prose styles block-level HTML elements to create a compliant and optimal * reading experience for long form text content. * * @name prose * @kind function * * @public * * @param {Object} [options] The options object. * @param {Object} [options.elementSelectors] * By default, all elements are selected by their html tag using `*:is()`; * override that selector by setting `elementSelectors`. */ declare function prose({ elementSelectors, }?: ProseConfiguration): Interpolation; export default prose; export { ProseElementSelectors };