import { Event } from "../../../sessions/sessions.web.main.internal.js"; export declare const IMeteredConnectionService: import("../../instantiation/common/instantiation.js").ServiceIdentifier; /** * Service to report on metered connection status. */ export interface IMeteredConnectionService { readonly _serviceBrand: undefined; /** * Whether the current network connection is metered. * Always returns `false` if the `network.meteredConnection` setting is `off`. * Always returns `true` if the `network.meteredConnection` setting is `on`. */ readonly isConnectionMetered: boolean; /** * Resolves once the initial connection state is available, when initialization is asynchronous. */ readonly whenConnectionStateInitialized?: Promise; /** * Event that fires when the metered connection status changes. */ readonly onDidChangeIsConnectionMetered: Event; }