import { PortalInfo } from './discover-portal'; export interface IApiRoute { fetch(path: string): Promise; } export declare function portalRoute(portal: PortalInfo): IApiRoute; export declare function publicRoute(baseUrl?: string, brand?: string | null): IApiRoute; export declare function resolveRoute(portal: PortalInfo | null, baseUrl: string, brand: string | null): IApiRoute;