export type CommonCommitMsgBranch = 'refactor' | 'chore' | 'style' | 'docs' | 'test' | 'ci' | 'build' | 'release';
export type TypeOfCommit = 'feature' | 'bugfix' | 'performance' | CommonCommitMsgBranch;
export type TypeOfMsgPrefix = 'feat' | 'fix' | 'perf' | CommonCommitMsgBranch;
export declare class CommitData {
    private static cleanHttpFromCommitMessage;
    private static getTeamsIdFrom;
    private static getModuleNameFrom;
    /**
     *
     * @returns jiras (from oldest to newset)
     */
    static extractAndOrderJiraNumbers(commitOrBranchName: string): string[];
    /**
     *
     * @returns jiras (from oldest to newset)
     */
    static extractAndOrderIssuesFromOtherProjects(
    /**
     * example:
     * commit: proper git commands tnp/GH-9 darekf77/tnp-helpers/GH-10
     * feature/__tnp-GH-9____darekf77_tnp-helpers-GH10__-proper-git-commands
     */
    commitOrBranchName: string, currentOrigin?: string): string[];
    static cleanMessageFromJiraNumTeamIdEtc(message: string, optinos?: {
        teamID: string;
        commitModuleName: string;
        jiraNumbers: string[];
        issuesFromOtherProjects: string[];
    }): string;
    private static getModuleNameFromBranch;
    static getFromArgs(args: string[], options: {
        typeOfCommit: TypeOfCommit;
        /**
         * only needed when push github
         * and I forgot to add my username before issue
         * taon pfix proper input my-repo#344
         * that should be
         * taon pfix proper input my-username/my-repo#344
         */
        currentOrigin?: string;
        jiraIssuesAreOutsideBrackets?: boolean;
    }): Promise<CommitData>;
    static getFromBranch(currentBranchName: string, options?: {
        releaseWords?: string[];
        /**
         * only needed when push github
         * and I forgot to add my username before issue
         * taon pfix proper input my-repo#344
         * that should be
         * taon pfix proper input my-username/my-repo#344
         */
        currentOrigin?: string;
        jiraIssuesAreOutsideBrackets?: boolean;
    }): Promise<CommitData>;
    static from(options: Pick<CommitData, 'message' | 'jiraNumbers' | 'typeOfCommit' | 'commitModuleName' | 'teamID' | 'issuesFromOtherProjects' | 'jiraIssuesAreOutsideBrackets'>): CommitData;
    private _message;
    typeOfCommit: TypeOfCommit;
    /**
     * ex. JIRA-2132 or MYJIRAREFIX-234234
     */
    jiraNumbers: string[];
    /**
     * if true then jira issues are outside brackets
     * feat: proper git commands JIRA-1234
     *
     * by default is false
     * feat(JIRA-1234): proper git commands
     */
    jiraIssuesAreOutsideBrackets: boolean;
    /**
     * when set -> jiraIssuesAreOutsideBrackets is true
     */
    readonly commitModuleName: string;
    readonly teamID: string;
    private clearMessage;
    /**
     * pure message what was done (without jira or prefixes)
     * => is included in this.commitMessage
     */
    get message(): string;
    set message(message: string);
    useFeatureBranchForTestBranch: boolean;
    get branchPrefix(): TypeOfMsgPrefix;
    /**
     * ex. taon/GH-12  darekf77/tnp-helpers/GH-4
     */
    get issuesFromOtherProjects(): string[];
    set issuesFromOtherProjects(value: string[]);
    private __issuesFromOtherProjects;
    get commitMessage(): string;
    get branchName(): string;
    get isActionCommit(): boolean;
}
