import type React from 'react'; import type { LocalizedText } from '../hooks/useLocales.js'; /** The connector a connect-route heading describes, if one has been picked. */ type HeadingConnector = { name?: string; connectorId?: string; /** The connect screen shows a QR code rather than the injected-wallet flow. */ showsQrCode: boolean; }; /** * Title shown in the modal header for a route. Routes with no title return an * empty string, which renders the header bar without text. * * @param route Current route id. * @param locales Translations for the active language. * @param connector Connector the connect route is talking about. */ export declare function getRouteHeading(route: string, locales: LocalizedText, connector: HeadingConnector): React.ReactNode; export {};