import type { Account, AccountRaw, Operation, TransactionCommon, TransactionCommonRaw, TransactionStatusCommon, TransactionStatusCommonRaw } from "@ledgerhq/types-live";
import type { BigNumber } from "bignumber.js";
import { TezosOperationMode } from "./model";
export type TezosResources = {
    revealed: boolean;
    counter: number;
};
export type TezosResourcesRaw = {
    revealed: boolean;
    counter: number;
};
export type NetworkInfo = {
    family: "tezos";
    fees: BigNumber;
};
export type NetworkInfoRaw = {
    family: "tezos";
    fees: string;
};
export type Transaction = TransactionCommon & {
    family: "tezos";
    mode: TezosOperationMode;
    networkInfo: NetworkInfo | null | undefined;
    fees: BigNumber | null | undefined;
    gasLimit: BigNumber | null | undefined;
    storageLimit: BigNumber | null | undefined;
    estimatedFees: BigNumber | null | undefined;
    taquitoError: string | null | undefined;
};
export type TransactionRaw = TransactionCommonRaw & {
    family: "tezos";
    mode: TezosOperationMode;
    networkInfo: NetworkInfoRaw | null | undefined;
    fees: string | null | undefined;
    gasLimit: string | null | undefined;
    storageLimit: string | null | undefined;
    estimatedFees: string | null | undefined;
    taquitoError: string | null | undefined;
};
type CapacityStatus = "normal" | "full";
export type Baker = {
    address: string;
    name: string;
    logoURL: string;
    nominalYield: `${number} %`;
    capacityStatus: CapacityStatus;
};
export type Delegation = {
    address: string;
    baker: Baker | null | undefined;
    operation: Operation;
    isPending: boolean;
    receiveShouldWarnDelegation: boolean;
    sendShouldWarnDelegation: boolean;
};
export type TezosAccount = Account & {
    tezosResources: TezosResources;
};
export declare function isTezosAccount(account: Account): account is TezosAccount;
export type TezosAccountRaw = AccountRaw & {
    tezosResources: TezosResourcesRaw;
};
export type TransactionStatus = TransactionStatusCommon;
export type TransactionStatusRaw = TransactionStatusCommonRaw;
export type TezosOperation = Operation<TezosOperationExtra>;
export type TezosOperationExtra = {
    id?: number;
};
export {};
//# sourceMappingURL=bridge.d.ts.map