export interface NetworkConditions { offline: boolean; latency: number; downloadThroughput: number; uploadThroughput: number; } declare const NETWORK_PRESETS: Record; type NetworkPreset = keyof typeof NETWORK_PRESETS; declare global { namespace Cypress { interface Chainable { /** * Throttle network conditions for the current test via * `Network.emulateNetworkConditions` — a named preset (`'offline'`, * `'slow-3g'`, `'fast-3g'`) or a custom conditions object. Cleared * automatically by `cy.resetEmulation()`, same as every other override this * library applies. Deliberately not part of `DeviceDescriptor`/`cy.emulate()`: * network conditions are a test-environment concern, not a device-identity * property — a real iPhone isn't inherently "3G". */ throttleNetwork(conditions: NetworkPreset | NetworkConditions): Chainable; /** * Throttle CPU for the current test via `Emulation.setCPUThrottlingRate` — a * slowdown multiplier (`4` means 4x slower than the host machine). Cleared * automatically by `cy.resetEmulation()`. */ throttleCpu(rate: number): Chainable; } } } export {}; //# sourceMappingURL=throttle.d.ts.map