import Client from './client';
import { Config } from './interfaces';
declare const CryptrSpa: {
    createClient: (config: Config) => Promise<Client>;
    client: typeof Client;
    events: {
        REFRESH_INVALID_GRANT: string;
        REFRESH_EXPIRED: string;
    };
    crypto: {
        random: () => string;
        randomB64UrlEncoded: () => string;
        sha256: (message: string) => string;
        sha256Base64UrlEncoded: (message: string) => string;
    };
    storage: {
        createCookie: (clientId: string, value: any, expires: Date) => import("./storage").Entry;
        getCookie: (key: string) => Object;
        deleteCookie: (key: string) => boolean;
        clearCookies: (key: string) => boolean;
    };
    transaction: any;
    version: string;
};
export default CryptrSpa;
