import React from "react"; /** * will set the document.title as one of following: * {baseTitle} * {baseTitle} {separator} {pageTitle} * According to latest element. */ export interface Props { title?: string | null; children: React.ReactNode; } interface BaseOption { baseTitle: string; separator: string; } declare const DocumentTitle: (({ title, children }: Props) => React.ReactNode) & { register: (option: Pick | BaseOption) => BaseOption | (BaseOption & Pick); }; export { DocumentTitle };