import { Fetcher } from './api'; import { SherlClient } from './client'; import { ErrorFactory } from './errors'; export declare abstract class AbstractProvider { protected readonly client: SherlClient; protected readonly fetcher: Fetcher; constructor(client: SherlClient, errorFactory: ErrorFactory); protected withFetcher: (method: (fetcher: Fetcher, ...args: T) => R) => (...args: T) => R; }