/**
* 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 defaultfunctionuseTitle(title: string, restoreOnUnmount?: boolean): void;