import type { AppIdentifier, DesktopAgent } from '@finos/fdc3'; import { IAppResolver, ResolveForContextPayload, ResolveForContextResponse, ResolveForIntentPayload } from '../contracts.js'; /** * If no IUIProvider is present then this class is used to resolve apps. * It will return the only app that matches the intent or context if only 1 match is found * If more than one match or no apps are found then an error is returned * If resolving app for context, it will also return an intent which handles given context and is resolved by selected app * * Note: This resolver only selects apps - it does not open new instances. * The caller (AppDirectory) is responsible for opening new instances when * an AppIdentifier without instanceId is returned. */ export declare class DefaultResolver implements IAppResolver { private readonly desktopAgentPromise; constructor(desktopAgentPromise: Promise); resolveAppForIntent(payload: ResolveForIntentPayload): Promise; resolveAppForContext(payload: ResolveForContextPayload): Promise; private findSingleMatchingApp; }