import { OktaAuthHttpInterface } from '../../http/types'; import { AccessToken } from '../../oidc/types'; export declare type TransactionLink = { href: string; hints?: { allow?: string[]; }; }; export declare type TransactionLinks = { self: TransactionLink; [property: string]: TransactionLink; }; declare type TransactionOptions = { res: { headers: Record; _links?: Record; [property: string]: unknown; }; accessToken: string | AccessToken; }; export default class BaseTransaction { headers?: Record; constructor(oktaAuth: OktaAuthHttpInterface, options: TransactionOptions); } export interface TransactionType { new (oktaAuth: OktaAuthHttpInterface, options: TransactionOptions): T; prototype: T; } export {};