import type { Decorate } from '@prezly/slate-commons'; import React, { type ReactElement } from 'react'; interface Props { decorate?: Decorate | undefined; children: (combinedDecorate: Decorate | undefined) => ReactElement | null; } /** * DecorationsProvider allows to attach additional Slate Editor decorations dynamically down the hierarchy. */ export declare function DecorationsProvider({ decorate, children }: Props): React.JSX.Element; export {};