/**
 * Playwright configuration and shard detection utilities
 */
/**
 * Shard information detected from Playwright configuration
 */
export interface ShardInfo {
    shardIndex: number;
    shardTotal: number;
    shardId: string;
}
/**
 * Playwright configuration parser for shard detection
 */
export declare class PlaywrightShardDetector {
    /**
     * Auto-detect shard information from Playwright configuration and environment
     */
    static detectShardInfo(workingDir: string): Promise<ShardInfo | null>;
    /**
     * Detect shard info from environment variables
     */
    private static detectFromEnvironment;
    /**
     * Detect shard info from Playwright configuration files
     */
    private static detectFromPlaywrightConfig;
    /**
     * Detect shard info from JSON reports (look for metadata in reports)
     */
    private static detectFromReports;
    /**
     * Validate shard information
     */
    static validateShardInfo(shardInfo: ShardInfo): boolean;
    /**
     * Create default shard info (single shard)
     */
    static createDefaultShardInfo(): ShardInfo;
}
//# sourceMappingURL=shard-detection.d.ts.map