import { ID } from '@zeniai/client-epic-state'; import { RequestToOpenThreadType } from './ThreadsProvider'; /** * Builds initialOpenThreadRequest from URL search params (e.g. from notification email links). * Used to pass thread_id and entity_type into detail/list pages so they can call * setRequestToOpenThread and open the thread. * * When `companyId` is passed (e.g. from page context in dashboard/app), it is used; * otherwise `company_id` is read from the URL (e.g. in cockpit). */ export declare function getInitialOpenThreadRequestFromSearch(searchParams: URLSearchParams, companyId?: ID): RequestToOpenThreadType | undefined;