import { AxiosInstance } from 'axios'; export declare type TinkLinkQuery = { ssn: string; clientId: string; redirecturi: string; bankId: number; market?: string; locale?: string; iframe?: boolean; redirect?: boolean; }; export declare type TinkLinkResponse = { client_id?: string; redirect_uri?: string; scope?: string; locale?: string; market?: string; state?: string; input_provider?: string; input_username?: string; iframe?: string; href: string; }; export declare type TinkLoginResponse = { user: { id: number; email?: string; }; token: string; }; export declare class Tink { api: AxiosInstance; constructor(api: AxiosInstance); link(query: TinkLinkQuery): Promise; login(code: string, state: string): Promise; } export interface TinkRelations { } export declare type TinkWithRelations = Tink & TinkRelations;