/// <reference types="react" />
import BigNumber from "bignumber.js";
import { SubstNetwork } from "../../contexts/polkadot/network";
import { CrossChainConfig, Period, SuggestType } from "./types";
type SubAccType = string;
export type ScreenType = "settings" | "wallet" | "deposit" | "transfer" | "withdraw";
export declare const isScreen: (raw: string) => raw is ScreenType;
/** @deprecated was using old contexts; mosts likely to be broken */
export declare const useSidebar: (convert?: (a?: BigNumber) => BigNumber) => {
    getAccount: (type?: "Bailsman" | "Borrower" | "Lender" | undefined) => import("../../contexts/polkadot/connect").AccountWithPub | undefined;
    network: SubstNetwork | undefined;
    accounts: import("../../contexts/polkadot/connect").AccountWithPub[] | undefined;
    networks: SubstNetwork[];
    convert: (a?: BigNumber) => BigNumber;
    balance: {};
    tab: string;
    setTab: import("react").Dispatch<import("react").SetStateAction<string>>;
    openSettings: () => void;
    close: () => void;
    selectAccount: (address: string) => void;
    selectNetwork: (net?: SubstNetwork) => void;
    transferExtrinsic: import("@polkadot/api-base/types").SubmittableExtrinsic<"promise", import("@polkadot/types/types").ISubmittableResult> | undefined;
    createTransferExtrinsic: (amount: string, token: string, subAccount: SubAccType) => void;
    period: Period;
    setPeriod: import("react").Dispatch<import("react").SetStateAction<Period>>;
    suggest: SuggestType;
    token: string;
    setToken: import("react").Dispatch<import("react").SetStateAction<string>>;
    connected: boolean;
    withdrawExtrinsic: import("@polkadot/api-base/types").SubmittableExtrinsic<"promise", import("@polkadot/types/types").ISubmittableResult> | undefined;
    createWithdrawExtrinsic: (amount: string, token: string, address: string, crossChain?: CrossChainConfig) => void;
    hasAssets: boolean;
    firstBlockAt: any;
    block: any;
};
export {};
