import { DefaultDataProps, WithMetaType } from '../../position/display.interface';
import { AppTokenPositionBalance, BaseTokenBalance } from '../../position/position-balance.interface';
import { AppTokenPosition, Token } from '../../position/position.interface';
import { BaseToken } from '../../position/token.interface';
declare type Options = {
    isDebt?: boolean;
};
declare type InferHasMetaType<T, B> = T extends WithMetaType<T> ? WithMetaType<B> : B;
declare type InferTokenBalanceType<T, V = DefaultDataProps> = T extends AppTokenPosition ? InferHasMetaType<T, AppTokenPositionBalance<V>> : T extends BaseToken ? InferHasMetaType<T, BaseTokenBalance> : never;
export declare const drillBalance: <T extends Token, V = DefaultDataProps>(token: T, balanceRaw: string, options?: Options) => InferTokenBalanceType<T, V>;
export {};
