import { ISession } from "../base/contracts/ISession";
/**
 * Class {@link Session} representing a session.
 *
 * A session is a request to the Elavon API to create a session token.
 * The session token is a unique identifier that is generated and used to manage user sessions
 * and maintain stateful communication between client and server.
 *
 * The session token response is only valid for 15 minutes and can only be used once.
 *
 * @implements {ISession}
 */
export declare class Session implements ISession {
    /**
     * Creates a session token which is a unique identifier that is generated and used to manage user sessions
     * and maintain stateful communication between client and server.
     *
     * API Reference - https://developer.elavon.com/products/hosted-payment-page/v1/api-reference#tag/Request-Session-Token/operation/session-token
     *
     * @param data {any} The session data.
     * @returns A promise resolving to a session object or an error object.
     */
    create(data: any): Promise<any>;
}
