import { ReactNode, CSSProperties, HTMLAttributes } from 'react';
export interface DocumentProps extends Omit, 'content' | 'title' | 'children'> {
classNames?: {
header?: string;
content?: string;
footer?: string;
wrapper?: string;
};
styles?: {
header?: CSSProperties;
content?: CSSProperties;
footer?: CSSProperties;
wrapper?: CSSProperties;
};
title?: string | ReactNode;
unmountOnExit?: boolean;
afterOpen?: () => void;
afterClose?: () => void;
getPopupContainer?: () => HTMLElement | null;
patterns?: RegExp[];
home?: string;
}