import { SAMLProfile } from './typings';
declare class WrapError extends Error {
    inner?: any;
}
/**@deprecated Use parseIssuer instead */
declare const parse: (rawAssertion: string) => Promise<SAMLProfile>;
declare const validate: (rawAssertion: string, options: any) => Promise<SAMLProfile>;
declare const parseIssuer: (rawAssertion: any) => string | undefined;
declare const createSAMLResponse: ({ audience, issuer, acsUrl, claims, requestId, privateKey, publicKey, flattenArray, }: {
    audience: string;
    issuer: string;
    acsUrl: string;
    claims: Record<string, any>;
    requestId: string;
    privateKey: string;
    publicKey: string;
    flattenArray?: boolean;
}) => Promise<string>;
export { createSAMLResponse, parse, validate, parseIssuer, WrapError };
