import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from "axios"; export declare class AbortError extends Error { constructor(message?: string); } export interface INotaryInformation { version: string; publicKey: string; gitCommitHash: string; gitCommitTimestamp: string; } export interface VerityResponse extends AxiosResponse { proof?: string; notary_pub_key?: string; } export interface VerityRequestOptions { throwOnError?: boolean; proofTimeout?: number; } export interface VerityClientConfig { proverUrl: string; requestOptions?: VerityRequestOptions; } declare class VerityRequest { private config; private promise; private axiosInstance; private redacted; requestId: string; throwOnError: boolean; private url; private sse_is_ready; private proof; private sse_error; constructor(axiosInstance: AxiosInstance, method: string, Url: string, config?: AxiosRequestConfig, options?: VerityRequestOptions, data?: any); redact(value: string): this; then, TResult2 = never>(onfulfilled?: (value: VerityResponse) => TResult1 | PromiseLike, onrejected?: (reason: T) => TResult2 | PromiseLike): Promise; catch(onrejected?: (reason: T) => TResult | PromiseLike): Promise | TResult>; finally(onfinally?: () => void): Promise>; private subscribeToProof; } export declare class VerityClient { protected axios: AxiosInstance; private requestOptions?; constructor(verifyConfig: VerityClientConfig, config?: AxiosRequestConfig); get(url: string, config?: AxiosRequestConfig, options?: VerityRequestOptions): VerityRequest; post(url: string, config?: AxiosRequestConfig, data?: any, options?: VerityRequestOptions): VerityRequest; get_notary_info(): Promise; } declare const _default: { VerityClient: typeof VerityClient; AbortError: typeof AbortError; }; export default _default;