import type { JestEnvironment } from '@jest/environment'; import type { EnvironmentListener, EnvironmentListenerFn, EnvironmentListenerOnly } from '../types'; export type ResolvedEnvironmentListener = [ EnvironmentListenerFn, any ]; export declare function resolveSubscription(rootDir: string, registration: EnvironmentListener | null): Promise>; export declare function resolveSubscriptionSingle(rootDir: string, registration: EnvironmentListenerOnly | null): Promise>;