/// <reference types="react" />
import type { UnwrapArray } from "@equilab/utils";
import type { useBase } from "../substrate/base";
type BaseHook = typeof useBase;
declare const saType: Array<"Bailsman" | "Borrower" | "Lender">;
export declare const SubAccountProvider: {
    ({ children, ...props }: import("react").PropsWithChildren<{
        useBase: BaseHook;
    }>): import("react/jsx-runtime").JSX.Element;
    displayName: string;
};
export declare const useAccount: () => {
    getAccount: (type?: undefined | UnwrapArray<typeof saType>) => import("./connect").AccountWithPub | undefined;
};
export {};
