import type { IsBranchOptions } from "../interfaces"; /** * @file Decorator - IsBranch * @module grease/decorators/IsBranch */ /** * Custom decorator that checks if a value is a local or remote branch in the * current repository. * * @param {IsBranchOptions} [options] - Validation options * @param {boolean} [options.always] - Perform validation and ignore `groups` * @param {ObjectPlain} [options.context] - Custom validation context * @param {string} [options.dir=process.env.PROJECT_CWD] - `.git` directory * @param {string[]} [options.groups] - Groups used for this validation * @param {ValidationMessage} [options.message] - Custom error message * @param {string} [options.remote] - Name of remote * @return {PropertyDecorator} Property decorator */ declare const IsBranch: (options?: IsBranchOptions) => PropertyDecorator; export default IsBranch;