import { IRepository } from 'aws-cdk-lib/aws-codecommit';
import { IRole } from 'aws-cdk-lib/aws-iam';
import { Function } from 'aws-cdk-lib/aws-lambda';
import { Construct } from 'constructs';
export interface MergeBranchesFunctionProps {
    /**
     * The CodeCommit repository.
     */
    readonly repository: IRepository;
    /**
     * Role for crossAccount permission
     */
    readonly crossAccountRole?: IRole;
}
export declare class MergeBranchesFunction extends Function {
    constructor(scope: Construct, id: string, props: MergeBranchesFunctionProps);
}
