import { BigNumber } from "ethers/lib/ethers";
export type RegisterData = {
    name: string;
    owner: string;
    duration: number;
    secret?: string;
    resolver?: string;
    data?: string[];
    reverseRecord?: boolean;
    ownerControlledFuses?: number;
    rebateName?: string;
};
export default function useBiu(): {
    switchChain: () => Promise<unknown>;
    getControlContact: () => Promise<any>;
    getPrices: (name: string, needLoading: boolean) => Promise<BigNumber[] | [any, any]>;
    registerName: (name: string, rebateName: string, owner: string, coin: string, price: BigNumber, isMain: boolean) => Promise<`0x${string}`>;
    balance: string;
    waitTransaction: (hash: string) => Promise<boolean>;
    transferName: (name: string, newOwner: string) => Promise<{
        hash: `0x${string}`;
    }>;
    balanceMatic: string;
    getName: (addr?: string) => Promise<any>;
    setName: (name: string) => Promise<{
        hash: `0x${string}`;
    }>;
    chain: import("viem/dist/types/types/chain").ChainConstants & import("viem/dist/types/types/chain").ChainConfig<import("viem").ChainFormatters> & {
        unsupported?: boolean;
    };
    chainID: string;
    prices: BigNumber[];
    priceLoading: boolean;
};
