UNPKG

@corti/dictation-web

Version:
10 lines (9 loc) 300 B
import type { CortiAuth } from "@corti/sdk"; /** * Extracts the initial access token from auth config * @throws Error if token is missing or invalid */ export declare function getInitialToken(config: CortiAuth.AuthTokenDerivable): Promise<{ accessToken: string; refreshToken?: string; }>;