/** * Extracts the page key from a given pathname. * @param pathname The current pathname (e.g., from window.location.pathname). * @param basePathToRemove Optional base path to remove before extracting the page key. * @example "/users/" -> "users" * @example "/admin/users/" with basePathToRemove "/admin" -> "users" * @example "/dashboard/home" -> "home" * @example "/table/users/"" -> "users" * @example "/-/data-sources" -> undefined * @returns The extracted page key. */ export declare function getPageKeyFromPathname(pathname: string, basePathToRemove?: string): string | undefined;