import { Contract, ContractFunction, PopulatedTransaction, BigNumber } from 'ethers'; import type { AxiosError } from 'axios'; export declare type ContractWithMethod = Contract & { readonly [method in T]: ContractFunction; } & { readonly functions: { [method in T]: ContractFunction; }; readonly callStatic: { [method in T]: ContractFunction; }; readonly estimateGas: { [method in T]: ContractFunction; }; readonly populateTransaction: { [method in T]: ContractFunction; }; }; export declare function contractHasMethods(contract: Contract, ...methods: T[]): contract is ContractWithMethod; export declare function assertContractHasMethods(contract: Contract, ...methods: T[]): asserts contract is ContractWithMethod; export declare const objectToFilledEntries: >(object: T) => [string, string][]; export declare const constructSearchString: >(queryOptions: U) => `?${string}` | ''; declare type FetcherErrorConstructorInput = Pick; interface FetcherErrorInterface extends FetcherErrorConstructorInput { status?: number; code?: string; } export declare const isFetcherError: (error: unknown) => error is FetcherError; export declare class FetcherError extends Error implements FetcherErrorInterface { code: string | undefined; status: number | undefined; request: any; response: import("axios").AxiosResponse | undefined; isAxiosError: boolean; constructor({ code, request, response, isAxiosError, message, }: FetcherErrorConstructorInput); } export {}; //# sourceMappingURL=misc.d.ts.map