declare namespace ObjC{ namespace classes{ export class NSURLCredentialStorage extends NSObject{ credentialsForProtectionSpace_(space:NSURLProtectionSpace|NativePointer):NativePointer; setCredential_forProtectionSpace_(credential:NSURLCredential|NativePointer,space:NSURLProtectionSpace|NativePointer):any; removeCredential_forProtectionSpace_(credential:NSURLCredential|NativePointer,space:NSURLProtectionSpace|NativePointer):any; removeCredential_forProtectionSpace_options_(credential:NSURLCredential|NativePointer,space:NSURLProtectionSpace|NativePointer,options:NativePointer|NativePointer):any; defaultCredentialForProtectionSpace_(space:NSURLProtectionSpace|NativePointer):NSURLCredential; setDefaultCredential_forProtectionSpace_(credential:NSURLCredential|NativePointer,space:NSURLProtectionSpace|NativePointer):any; static sharedCredentialStorage():NSURLCredentialStorage; allCredentials():NativePointer; } } }