import { Account } from "@ledgerhq/types-live";
import { Props } from "../react/BridgeSync";
type Session = {
    reason: string;
    startTime: number;
    accountIds: string[];
    remaining: Set<string>;
    errorsCount: number;
};
export declare function createSyncSessionManager(trackAnalytics: Props["trackAnalytics"]): {
    readonly start: (ids: string[], reason: string) => void;
    readonly onAccountSyncDone: (accountId: string, accounts: Account[], hadError?: boolean) => void;
};
export declare function getTotalOperations(accounts: Account[]): number;
export declare function getUniqueChains(accounts: Account[]): string[];
export declare function trackSessionAnalytics(trackAnalytics: Props["trackAnalytics"], session: Session, accounts: Account[]): void;
export {};
//# sourceMappingURL=index.d.ts.map