import type { OauthAccessTokenJSON } from './JSON'; export declare class OauthAccessToken { readonly provider: string; readonly token: string; readonly publicMetadata: Record; readonly label: string; readonly scopes?: string[] | undefined; readonly tokenSecret?: string | undefined; constructor(provider: string, token: string, publicMetadata: Record, label: string, scopes?: string[] | undefined, tokenSecret?: string | undefined); static fromJSON(data: OauthAccessTokenJSON): OauthAccessToken; }