import { Compiler } from 'webpack'; interface GitRevisionPluginOptions { gitWorkTree?: string; commithashCommand?: string; versionCommand?: string; branch?: boolean; branchCommand?: string; lastCommitDateTimeCommand?: string; lightweightTags?: boolean; } export declare class GitRevisionPlugin { gitWorkTree?: string; commithashCommand: string; versionCommand: string; createBranchFile: boolean; branchCommand: string; lastCommitDateTimeCommand: string; constructor(options?: GitRevisionPluginOptions); commithash(): string | null; version(): string | null; branch(): string | null; lastcommitdatetime(): string | null; apply(compiler: Compiler): void; } export {};