declare const RELAY_PROTOCOL_VERSION = 1;
export interface PlaywriterRelayStatus {
    reachable: boolean;
    extensionConnected: boolean;
    activeTargets: number;
    relayProtocolVersion?: number;
}
export declare function getRelayCdpEndpoint(host: string, port: number): string;
export declare function assertPm2Available(): void;
export declare function getPlaywriterRelayStatus(host?: string, port?: number): Promise<PlaywriterRelayStatus>;
export declare function getRelayInfoFromFile(): {
    relayProtocolVersion?: number;
} | null;
export declare function getCachedRelayStatus(host?: string, port?: number): Promise<PlaywriterRelayStatus>;
export declare function invalidateRelayStatusCache(): void;
export declare function reconcilePlaywriterRelay(host?: string, port?: number): void;
export declare function ensurePlaywriterRelay(host?: string, port?: number): Promise<PlaywriterRelayStatus>;
export declare function cleanupOrphanRelay(): void;
export { RELAY_PROTOCOL_VERSION };
//# sourceMappingURL=playwriter-relay.d.ts.map