/** Name of the URL search parameter containing the layout ID for the active tab */ export declare const ACTIVE_TAB_SEARCH_PARAM = "tab"; /** * Extract from the URL the requested tab layoutId without validating whether it * exists or can be navigated to. * @param {Object} obj * @param {String} obj.search url search query (window.location.search) from which requested tab is to be extracted * @returns {string | undefined} requested active tab layoutId */ export declare const mapURLToRequestedTab: ({ search }: { search: string; }) => string | undefined; /** * Extract from the URL the active tab's layoutId * @param {Object} obj * @param {String} obj.search url search query (window.location.search) from which active tab is to be extracted * @param {String[]} obj.tabIds array of layout IDs for tabs in the dashboard. If the activeTab in the URL is not valid it is ignored. * @returns {string | undefined} active tab's layoutId */ export declare const mapURLToActiveTab: ({ search, tabIds, }: { search: string; tabIds: string[]; }) => string | undefined; /** * Maps active tab to url search params either by updating an existing param or appending a new one * @param {Object} obj * @param {String} [obj.search] url search query (window.location.search) that's to be augmented * @param {String} [obj.activeTab] current active tab layoutId * @returns {String} updated search query */ export declare const mapActiveTabToURL: ({ search, activeTab, }: { search?: string; activeTab?: string; }) => string; //# sourceMappingURL=activeTab.d.ts.map