import { SESSION_STATE } from "./constants";
export interface ITriloConfigCredentials {
    key: string;
    secret: string;
}
export interface ITriloConfig {
    credentials: ITriloConfigCredentials;
    stage: string;
    debug: boolean;
    redirectUri?: string;
}
export interface ITriloNewAgreement {
    amount: number;
    currency?: "gbp";
    triloId?: string;
}
export interface ITriloNewAgreementResult {
    agreementId?: string;
    status?: SESSION_STATE;
    authenticationUri?: string;
    sendingBanks?: any[];
    sendingBankAccounts?: any[];
    success: boolean;
    error?: any;
}
export interface ITriloGetTriloId {
    userAttribute?: string;
    email?: string;
    phone?: string;
}
export interface ITriloGetTriloIdResult {
    triloId: string;
}
export interface ITriloCancelAgreement {
    id: string;
}
export interface ITriloSignup {
    email: string;
    password: string;
}
export interface ITriloFetcher {
    content?: any;
    url: string;
    headers?: {
        [key: string]: string;
    };
}
export interface ITriloBaobabFetcher<U> {
    content?: U;
    path: string;
    headers?: {
        [key: string]: string;
    };
}
export interface ITriloCamelFetcher<U> {
    content?: U;
    path: string;
    headers?: {
        [key: string]: string;
    };
}
