export declare enum Authentications { OAuth2 = "OAUTH2", OAuth1 = "OAUTH1", Basic = "BASIC", ApiKey = "APIKEY", NoAuth = "NONE", Custom = "CUSTOM" } export declare type TAuthentications = Record; export declare type TConfig = configs.TOAuth2Config | configs.TOAuth1Config | configs.TApiKeyConfig | configs.TBasicConfig | configs.TNoAuthConfig | configs.TCustomConfig; export declare namespace configs { type TBaseConfig = { authType: authType; }; type TOAuth2Config = TBaseConfig & { authorizationURL: string; tokenURL: string; tokenParams: any; authorizationParams: any; config: { scope: string[]; }; }; type TOAuth1Config = TBaseConfig & { requestTokenURL: string; accessTokenURL: string; userAuthorizationURL: string; callbackURL: string; signatureMethod: 'HMAC-SHA1'; tokenParams: Record; authorizationParams: Record; config: { scope: string[]; }; }; type TApiKeyConfig = TBaseConfig & {}; type TBasicConfig = TBaseConfig & {}; type TNoAuthConfig = TBaseConfig & {}; type TCustomConfig = TBaseConfig & {}; } export default Authentications;