import { TypeSafeEndpointDef, handler } from "@mfreydl/toyhauler-api-framework/apiCore/apiShared"; import { SwitchTenantRequest } from "toyhauler-auth-contracts"; import { SingleResult } from "toyhauler-common/contracts"; import { TenantUser } from "toyhauler-common/security"; /** Provides the ability for a user with a valid token * to acquire a new token for a different one of their existing tenant profiles, * without having to reauthenticate. */ export declare class AuthEndpointForSwitchTenant extends TypeSafeEndpointDef> { private static thingWeHaveToDoToKnowThisGenericTypeDefAtRuntime; constructor(route?: string, ...otherRoutes: string[]); handler: handler>; /** Throws on not found. */ private refreshUser; }