import type { AccountEntry, StoreFile } from "./store.js"; export declare function fetchQuota(entry: AccountEntry): Promise; export type RefreshActiveAccountQuotaResult = { type: "missing-active"; } | { type: "refresh-failed"; name?: string; error: string; previousQuota?: AccountEntry["quota"]; } | { type: "success"; name: string; entry: AccountEntry; }; export declare function refreshActiveAccountQuota(input: { store: StoreFile; fetchQuotaImpl?: typeof fetchQuota; now?: () => number; }): Promise;