export type RefreshBalanceStatus = {
    requestId?: string;
    dbName?: string;
    message?: string | null;
    startedAt?: string;
    completedAt?: string | null;
    error?: string | null;
} | null;
export declare function useStockRefreshBalance(args: {
    onCompleted: () => void | Promise<void>;
    onError?: (message: string) => void | Promise<void>;
}): {
    refreshing: import("vue").Ref<boolean, boolean>;
    refreshStatus: import("vue").Ref<{
        requestId?: string | undefined;
        dbName?: string | undefined;
        message?: string | null | undefined;
        startedAt?: string | undefined;
        completedAt?: string | null | undefined;
        error?: string | null | undefined;
    } | null, RefreshBalanceStatus | {
        requestId?: string | undefined;
        dbName?: string | undefined;
        message?: string | null | undefined;
        startedAt?: string | undefined;
        completedAt?: string | null | undefined;
        error?: string | null | undefined;
    }>;
    lastCompletedAt: import("vue").Ref<string | null, string | null>;
    startListening: () => void;
    stopListening: () => void;
};
