import { Got } from 'got'; import { FlinksLoginResponse, LoginResponse, FlinksResponseBase, ResponseBase } from '../types'; export interface AuthorizeOptions { institution?: string; username?: string; password?: string; save?: boolean; mostRecentCached?: boolean; loginId: string; securityResponses?: Record; tag?: string; accessToken?: string; } export interface FlinksAuthorizeResponse extends FlinksResponseBase { RequestId: string; Login: FlinksLoginResponse; } export interface AuthorizeResponse extends ResponseBase { requestId: string; login: LoginResponse; } declare const authorize: (client: Got, options: AuthorizeOptions) => Promise; export { authorize };