import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * This resource provides the Project Repository Setting resource in Oracle Cloud Infrastructure Devops service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/devops/latest/ProjectRepositorySetting
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/devops
 *
 * Updates the repository settings for a project.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testProjectRepositorySetting = new oci.devops.ProjectRepositorySetting("test_project_repository_setting", {
 *     projectId: testProject.id,
 *     approvalRules: {
 *         items: [{
 *             minApprovalsCount: Number(projectRepositorySettingApprovalRulesItemsMinApprovalsCount),
 *             name: projectRepositorySettingApprovalRulesItemsName,
 *             destinationBranch: projectRepositorySettingApprovalRulesItemsDestinationBranch,
 *             reviewers: [{
 *                 principalId: testPrincipal.id,
 *             }],
 *         }],
 *     },
 *     mergeSettings: {
 *         allowedMergeStrategies: projectRepositorySettingMergeSettingsAllowedMergeStrategies,
 *         defaultMergeStrategy: projectRepositorySettingMergeSettingsDefaultMergeStrategy,
 *     },
 * });
 * ```
 *
 * ## Import
 *
 * ProjectRepositorySettings can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:DevOps/projectRepositorySetting:ProjectRepositorySetting test_project_repository_setting "projects/{projectId}/repositorySettings"
 * ```
 */
export declare class ProjectRepositorySetting extends pulumi.CustomResource {
    /**
     * Get an existing ProjectRepositorySetting resource's state with the given name, ID, and optional extra
     * properties used to qualify the lookup.
     *
     * @param name The _unique_ name of the resulting resource.
     * @param id The _unique_ provider ID of the resource to lookup.
     * @param state Any extra arguments used during the lookup.
     * @param opts Optional settings to control the behavior of the CustomResource.
     */
    static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ProjectRepositorySettingState, opts?: pulumi.CustomResourceOptions): ProjectRepositorySetting;
    /**
     * Returns true if the given object is an instance of ProjectRepositorySetting.  This is designed to work even
     * when multiple copies of the Pulumi SDK have been loaded into the same process.
     */
    static isInstance(obj: any): obj is ProjectRepositorySetting;
    /**
     * (Updatable) List of approval rules which must be statisfied before pull requests which match the rules can be merged
     */
    readonly approvalRules: pulumi.Output<outputs.DevOps.ProjectRepositorySettingApprovalRules>;
    /**
     * (Updatable) Enabled and disabled merge strategies for a project or repository, also contains a default strategy.
     */
    readonly mergeSettings: pulumi.Output<outputs.DevOps.ProjectRepositorySettingMergeSettings>;
    /**
     * Unique project identifier.
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    readonly projectId: pulumi.Output<string>;
    /**
     * Create a ProjectRepositorySetting resource with the given unique name, arguments, and options.
     *
     * @param name The _unique_ name of the resource.
     * @param args The arguments to use to populate this resource's properties.
     * @param opts A bag of options that control this resource's behavior.
     */
    constructor(name: string, args: ProjectRepositorySettingArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering ProjectRepositorySetting resources.
 */
export interface ProjectRepositorySettingState {
    /**
     * (Updatable) List of approval rules which must be statisfied before pull requests which match the rules can be merged
     */
    approvalRules?: pulumi.Input<inputs.DevOps.ProjectRepositorySettingApprovalRules | undefined>;
    /**
     * (Updatable) Enabled and disabled merge strategies for a project or repository, also contains a default strategy.
     */
    mergeSettings?: pulumi.Input<inputs.DevOps.ProjectRepositorySettingMergeSettings | undefined>;
    /**
     * Unique project identifier.
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    projectId?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a ProjectRepositorySetting resource.
 */
export interface ProjectRepositorySettingArgs {
    /**
     * (Updatable) List of approval rules which must be statisfied before pull requests which match the rules can be merged
     */
    approvalRules?: pulumi.Input<inputs.DevOps.ProjectRepositorySettingApprovalRules | undefined>;
    /**
     * (Updatable) Enabled and disabled merge strategies for a project or repository, also contains a default strategy.
     */
    mergeSettings?: pulumi.Input<inputs.DevOps.ProjectRepositorySettingMergeSettings | undefined>;
    /**
     * Unique project identifier.
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    projectId: pulumi.Input<string>;
}
//# sourceMappingURL=projectRepositorySetting.d.ts.map