/**
 * This hook is used to set the title of the page.
 * @param title The title of the page.
 * @param restoreOnUnmount Whether to restore the title when the component unmounts.
 */
export default function useTitle(title: string, restoreOnUnmount?: boolean): void;
