import { CommmonArgs } from './types'; export type DiffArgs = { engine?: string; config: string; source?: string; parser?: string; json?: boolean; silent?: boolean; filter: 'major' | 'minor' | 'patch' | 'all'; previous?: string; ref?: string; } & CommmonArgs; export declare function readFromGit(sourcePath: string, ref: string | undefined): Promise; export declare function diff(args: DiffArgs): Promise;