export interface ClientOptions { verifySelection?: boolean; baseUrl?: string; } export interface Meta { url: string; } export declare type Response = { _meta: Meta; } & any; export interface TornError { code: number; error: string; isTornError: true; } export interface GenericError { isTornError: false; } export interface ErrorResponse { _meta: Meta; error: TornError | GenericError; }