import type { ProtectedRuleForm } from './types';
export declare function modifyProtectedBranchRule({ projectName, privateToken, baseUrl, ruleId, form, }: {
    projectName: string;
    privateToken: string;
    baseUrl?: string;
    ruleId: number;
    form: ProtectedRuleForm;
}): Promise<Array<object>>;
export declare function createProtectedBranchRule({ projectName, privateToken, baseUrl, form, }: {
    projectName: string;
    privateToken: string;
    baseUrl?: string;
    form: ProtectedRuleForm;
}): Promise<Array<object>>;
export declare function getAutoProtectedBranchRules({ projectName, baseUrl, privateToken, }: {
    projectName: string;
    baseUrl?: string;
    privateToken: string;
}): Promise<string>;
export declare function modifyAutoProtectedBranchRules({ projectName, baseUrl, privateToken, rules, shouldUpdateExistingBranches, }: {
    projectName: string;
    baseUrl?: string;
    privateToken: string;
    rules: string;
    shouldUpdateExistingBranches?: boolean;
}): Promise<unknown>;
export declare function getProtectedBranchRules({ projectName, baseUrl, privateToken, }: {
    projectName: string;
    baseUrl?: string;
    privateToken: string;
}): Promise<Array<{
    name: string;
    [k: string]: any;
}>>;
