pr-sizewise
Version:
A CLI tool that measures and reports pull request sizes for GitHub and GitLab, helping teams maintain manageable code changes.
25 lines • 967 B
TypeScript
import type { SizewiseConfig } from './types';
import { UniversalSizeWiseAnalyzer } from './analyzer';
export * from './types';
export * from './analyzer';
export * from './providers';
export * from './utils/diff-parser';
/**
* Default configuration values
*/
export declare const DEFAULT_CONFIG: SizewiseConfig;
/**
* Utility function to load configuration from file
*/
export declare function loadConfigFromFile(configPath?: string): SizewiseConfig;
/**
* Convenience function to create a platform-agnostic analyzer
*/
export declare function createUniversalAnalyzer(config?: Partial<SizewiseConfig>): typeof UniversalSizeWiseAnalyzer;
/**
* Platform-agnostic analysis function with auto-detection
* @param prId Pull/Merge request ID
* @param config Optional configuration override
*/
export declare function analyzePullRequest(prId: string, config?: Partial<SizewiseConfig>): Promise<import("./types").AnalysisResult>;
//# sourceMappingURL=index.d.ts.map