import { EhAppIndexed, EhEnvIndexed } from '@env-hopper/backend-core'; import { BaseAutoCompletableItem } from '~/modules/pluginCore/types'; import { EhUrlParams } from '~/types/ehTypes'; import { ResourceJumpItem } from './types.js'; export declare function mapDisplayedItems(displayedItems: Array): Generator<{ item: import('../../plugins/builtin/pageUrl/pageUrlTypes.js').PluginPageUrlAutocompleteItem; itemRenderData: import('~/modules/pluginCore/types').BaseAutoCompleteItemRender; isChild: boolean; }, void, unknown>; export declare function formatResourceTitle(resouceJump: ResourceJumpItem | undefined): string; export declare function getByIdRelaxed(primarySearch: (slug: string | undefined) => T | undefined, id: string | undefined): [T | undefined, boolean]; export interface PreselectedBasedOnParams { rawUrlParams: EhUrlParams; config: { envs: Record; apps: Record; }; lastUsedEnvSlug: string | undefined; lastUsedAppSlug: string | undefined; } export interface PreselectedBasedOnParamsReturn { urlWasFixed: boolean; env: EhEnvIndexed | undefined; app: EhAppIndexed | undefined; } export declare function loadEnvAndResouceByRawUrlParams({ rawUrlParams: urlParams, config, lastUsedEnvSlug: lastUsedEnvSlug, lastUsedAppSlug: lastUsedAppSlug, }: PreselectedBasedOnParams): PreselectedBasedOnParamsReturn;