import { TypeSafeEndpointDef, handler } from "@mfreydl/toyhauler-api-framework/apiCore/apiShared"; import { TenantUser } from "toyhauler-common/security"; import { SingleResult } from "toyhauler-common/contracts"; import { RefreshTokenRequest } from "toyhauler-auth-contracts"; /** Provides the ability to extend an existing token. * Returns failure for invalid or revoked tokens. * Returns any errors encountered refreshing. * NOTE: This is the EXACT SAME capability as is performed by the AuthenticationMiddleware */ export declare class AuthEndpointForTokenRefresh extends TypeSafeEndpointDef> { private static thingWeHaveToDoToKnowThisGenericTypeDefAtRuntime; constructor(route?: string, ...otherRoutes: string[]); handler: handler>; }