import * as pulumi from "@pulumi/pulumi";
import { input as inputs, output as outputs } from "../types";
/**
 * Manages an MPC transcoding template group resource within HuaweiCloud.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as huaweicloud from "@pulumi/huaweicloud";
 *
 * const test = new huaweicloud.Mpc.TranscodingTemplateGroup("test", {
 *     audio: {
 *         bitrate: 0,
 *         channels: 2,
 *         codec: 2,
 *         outputPolicy: "transcode",
 *         sampleRate: 1,
 *     },
 *     dashSegmentDuration: 5,
 *     hlsSegmentDuration: 5,
 *     lowBitrateHd: true,
 *     outputFormat: 1,
 *     videoCommon: {
 *         blackBarRemoval: 0,
 *         codec: 2,
 *         fps: 0,
 *         level: 15,
 *         maxConsecutiveBframes: 7,
 *         maxIframesInterval: 5,
 *         outputPolicy: "transcode",
 *         profile: 4,
 *         quality: 1,
 *     },
 *     videos: [{
 *         bitrate: 0,
 *         height: 2160,
 *         width: 3840,
 *     }],
 * });
 * ```
 *
 * ## Import
 *
 * MPC transcoding template groups can be imported using the `id`, e.g. bash
 *
 * ```sh
 *  $ pulumi import huaweicloud:Mpc/transcodingTemplateGroup:TranscodingTemplateGroup test 589e49809bb84447a759f6fa9aa19949
 * ```
 */
export declare class TranscodingTemplateGroup extends pulumi.CustomResource {
    /**
     * Get an existing TranscodingTemplateGroup 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?: TranscodingTemplateGroupState, opts?: pulumi.CustomResourceOptions): TranscodingTemplateGroup;
    /**
     * Returns true if the given object is an instance of TranscodingTemplateGroup.  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 TranscodingTemplateGroup;
    /**
     * Specifies the audio parameters. The object structure is documented below.
     */
    readonly audio: pulumi.Output<outputs.Mpc.TranscodingTemplateGroupAudio | undefined>;
    /**
     * Specifies the dash segment duration, in second.
     * The valid value is range from `2` to `10`, and it is used only when `outputFormat` is set to `1` or `3`.
     * The default value is `5`.
     */
    readonly dashSegmentDuration: pulumi.Output<number | undefined>;
    /**
     * Specifies the HLS segment duration, in second.
     * The valid value is range from `2` to `10`, and it is used only when `outputFormat` is set to `1` or `3`.
     * The default value is `5`.
     */
    readonly hlsSegmentDuration: pulumi.Output<number | undefined>;
    /**
     * Specifies Whether to enable low bitrate HD. The default value is false.
     */
    readonly lowBitrateHd: pulumi.Output<boolean | undefined>;
    /**
     * Specifies the name of a transcoding template group.
     */
    readonly name: pulumi.Output<string>;
    /**
     * Specifies the packaging type. Possible values are:
     * + **1**: HLS
     * + **2**: DASH
     * + **3**: HLS+DASH
     * + **4**: MP4
     * + **5**: MP3
     * + **6**: ADTS
     */
    readonly outputFormat: pulumi.Output<number>;
    /**
     * The region in which to create the transcoding template group resource. If omitted,
     * the provider-level region will be used. Changing this creates a new resource.
     */
    readonly region: pulumi.Output<string>;
    /**
     * Indicates the IDs of templates in the template group
     */
    readonly templateIds: pulumi.Output<string[]>;
    /**
     * Specifies the video parameters.
     * The object structure is documented below.
     */
    readonly videoCommon: pulumi.Output<outputs.Mpc.TranscodingTemplateGroupVideoCommon | undefined>;
    /**
     * Specifies the list of output video configurations.
     * The object structure is documented below.
     */
    readonly videos: pulumi.Output<outputs.Mpc.TranscodingTemplateGroupVideo[] | undefined>;
    /**
     * Create a TranscodingTemplateGroup 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: TranscodingTemplateGroupArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering TranscodingTemplateGroup resources.
 */
export interface TranscodingTemplateGroupState {
    /**
     * Specifies the audio parameters. The object structure is documented below.
     */
    audio?: pulumi.Input<inputs.Mpc.TranscodingTemplateGroupAudio>;
    /**
     * Specifies the dash segment duration, in second.
     * The valid value is range from `2` to `10`, and it is used only when `outputFormat` is set to `1` or `3`.
     * The default value is `5`.
     */
    dashSegmentDuration?: pulumi.Input<number>;
    /**
     * Specifies the HLS segment duration, in second.
     * The valid value is range from `2` to `10`, and it is used only when `outputFormat` is set to `1` or `3`.
     * The default value is `5`.
     */
    hlsSegmentDuration?: pulumi.Input<number>;
    /**
     * Specifies Whether to enable low bitrate HD. The default value is false.
     */
    lowBitrateHd?: pulumi.Input<boolean>;
    /**
     * Specifies the name of a transcoding template group.
     */
    name?: pulumi.Input<string>;
    /**
     * Specifies the packaging type. Possible values are:
     * + **1**: HLS
     * + **2**: DASH
     * + **3**: HLS+DASH
     * + **4**: MP4
     * + **5**: MP3
     * + **6**: ADTS
     */
    outputFormat?: pulumi.Input<number>;
    /**
     * The region in which to create the transcoding template group resource. If omitted,
     * the provider-level region will be used. Changing this creates a new resource.
     */
    region?: pulumi.Input<string>;
    /**
     * Indicates the IDs of templates in the template group
     */
    templateIds?: pulumi.Input<pulumi.Input<string>[]>;
    /**
     * Specifies the video parameters.
     * The object structure is documented below.
     */
    videoCommon?: pulumi.Input<inputs.Mpc.TranscodingTemplateGroupVideoCommon>;
    /**
     * Specifies the list of output video configurations.
     * The object structure is documented below.
     */
    videos?: pulumi.Input<pulumi.Input<inputs.Mpc.TranscodingTemplateGroupVideo>[]>;
}
/**
 * The set of arguments for constructing a TranscodingTemplateGroup resource.
 */
export interface TranscodingTemplateGroupArgs {
    /**
     * Specifies the audio parameters. The object structure is documented below.
     */
    audio?: pulumi.Input<inputs.Mpc.TranscodingTemplateGroupAudio>;
    /**
     * Specifies the dash segment duration, in second.
     * The valid value is range from `2` to `10`, and it is used only when `outputFormat` is set to `1` or `3`.
     * The default value is `5`.
     */
    dashSegmentDuration?: pulumi.Input<number>;
    /**
     * Specifies the HLS segment duration, in second.
     * The valid value is range from `2` to `10`, and it is used only when `outputFormat` is set to `1` or `3`.
     * The default value is `5`.
     */
    hlsSegmentDuration?: pulumi.Input<number>;
    /**
     * Specifies Whether to enable low bitrate HD. The default value is false.
     */
    lowBitrateHd?: pulumi.Input<boolean>;
    /**
     * Specifies the name of a transcoding template group.
     */
    name?: pulumi.Input<string>;
    /**
     * Specifies the packaging type. Possible values are:
     * + **1**: HLS
     * + **2**: DASH
     * + **3**: HLS+DASH
     * + **4**: MP4
     * + **5**: MP3
     * + **6**: ADTS
     */
    outputFormat: pulumi.Input<number>;
    /**
     * The region in which to create the transcoding template group resource. If omitted,
     * the provider-level region will be used. Changing this creates a new resource.
     */
    region?: pulumi.Input<string>;
    /**
     * Specifies the video parameters.
     * The object structure is documented below.
     */
    videoCommon?: pulumi.Input<inputs.Mpc.TranscodingTemplateGroupVideoCommon>;
    /**
     * Specifies the list of output video configurations.
     * The object structure is documented below.
     */
    videos?: pulumi.Input<pulumi.Input<inputs.Mpc.TranscodingTemplateGroupVideo>[]>;
}
