import { KeyInfo, Signature } from './helpers/saml-types'; export declare namespace SAMLMetadata { interface Root { $: { ID: string; entityID: string; }; Signature: Signature[]; IDPSSODescriptor: { $: { protocolSupportEnumeration: string; }; KeyDescriptor: { $: { use: 'signing' | 'encryption'; }; KeyInfo: [KeyInfo]; }[]; SingleLogoutService: Service[]; SingleSignOnService: Service[]; }[]; } interface Service { $: { Binding: string; Location: string; }; } } interface Metadata { identityProvider: { id: string; signature: { allowedCertificates: string[]; algorithm: 'sha256' | 'sha512'; }; redirectLoginUrl: string; postLoginUrl: string; }; } export declare function extract(xml: string): Promise; export {};