/** history.state key on entries pushed by opening a thread from the list or a search hit. */ export declare const DESK_FROM_LIST_KEY = "dcDeskFromList"; /** Marker value: unique per page load, so an entry left by an earlier document is never trusted. */ export declare const DESK_DOC_ID: string; interface ThreadTarget { threadId: string; messageId?: string; } /** * Opening and leaving a thread. On phone a thread is its own history entry (marked) so the * browser back button returns to the list; otherwise leaving replaces the URL, never leaves the app. */ export declare const useDeskThreadNavigation: () => { openFromList: (target: ThreadTarget) => void; openThread: (target: ThreadTarget, hostUrl: string) => void; backToList: () => void; }; export {}; //# sourceMappingURL=useDeskThreadNavigation.d.ts.map