import type { remote } from 'webdriver';
/**
 * Parallel tests share one user context by default, so a `context` partition
 * would resolve to the whole user-context jar in Chrome. The partition is
 * scoped to the origin of the test's own browsing context instead. Without a
 * usable origin (e.g. about:blank) it falls back to the context partition.
 * An explicit `sourceOrigin` string replaces that origin and `null` drops it;
 * both stay scoped to the test's user context.
 */
export declare function parallelCookiePartition(browser: WebdriverIO.Browser, explicitOrigin?: string | null): Promise<remote.StoragePartitionDescriptor | undefined>;
export declare function getCookiePartition(sourceOrigin: string): remote.StoragePartitionDescriptor;
//# sourceMappingURL=cookiePartition.d.ts.map