import { Value } from '../../cloudformation/Value';
import { TemplateSourceEntityProps } from './template/TemplateSourceEntityProps';
import { TemplateVersionDefinitionProps } from './template/TemplateVersionDefinitionProps';
import { ResourcePermissionProps } from './template/ResourcePermissionProps';
import { ValidationStrategyProps } from './template/ValidationStrategyProps';
import { Tag } from '../Tag';
import { DataSetConfigurationProps } from './template/DataSetConfigurationProps';
import { SheetProps } from './template/SheetProps';
import { TemplateErrorProps } from './template/TemplateErrorProps';
import { TemplateVersionProps } from './template/TemplateVersionProps';
import { Attribute } from '../../cloudformation/Attribute';
import { AwsResource } from '../../cloudformation/resources/AwsResource';
export type TemplateAttributes = {
    Version_Status: Attribute<string>;
    CreatedTime: Attribute<string>;
    Version_DataSetConfigurations: Attribute<DataSetConfigurationProps[]>;
    LastUpdatedTime: Attribute<string>;
    Version_VersionNumber: Attribute<number>;
    Version_Sheets: Attribute<SheetProps[]>;
    Version_ThemeArn: Attribute<string>;
    Version_Errors: Attribute<TemplateErrorProps[]>;
    Version_CreatedTime: Attribute<string>;
    Version_Description: Attribute<string>;
    Version: Attribute<TemplateVersionProps>;
    Arn: Attribute<string>;
    Version_SourceEntityArn: Attribute<string>;
};
export type Template = AwsResource<'AWS::QuickSight::Template', TemplateProperties, TemplateAttributes>;
/**
  Creates a template from an existing Amazon QuickSight analysis or template. You can use the resulting template to create a dashboard.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-template.html">the AWS Docs</a>
*/
export declare function template(templateProps: TemplateProperties): Template;
/**
  Creates a template from an existing Amazon QuickSight analysis or template. You can use the resulting template to create a dashboard.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-quicksight-template.html">the AWS Docs</a>
*/
export interface TemplateProperties {
    /** <code>VersionDescription</code>  <a name="cfn-quicksight-template-versiondescription"></a>
  A description of the current template version being created. This API operation creates the first version of the template. Every time <code>UpdateTemplate</code> is called, a new version is created. Each version of the template maintains a description of the version in the <code>VersionDescription</code> field.<br />
  
  Required: No<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>512</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    versionDescription?: Value<string>;
    /** <code>SourceEntity</code>  <a name="cfn-quicksight-template-sourceentity"></a>
  The entity that you are using as a source when you create the template. In <code>SourceEntity</code>, you specify the type of object you’re using as source: <code>SourceTemplate</code> for a template or <code>SourceAnalysis</code> for an analysis. Both of these require an Amazon Resource Name (ARN). For <code>SourceTemplate</code>, specify the ARN of the source template. For <code>SourceAnalysis</code>, specify the ARN of the source analysis. The <code>SourceTemplate</code> ARN can contain any AWS account and any Amazon QuickSight-supported AWS Region.<br />
  Use the <code>DataSetReferences</code> entity within <code>SourceTemplate</code> or <code>SourceAnalysis</code> to list the replacement datasets for the placeholders listed in the original. The schema in each dataset must match its placeholder.<br />
  Either a <code>SourceEntity</code> or a <code>Definition</code> must be provided in order for the request to be valid.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    sourceEntity?: TemplateSourceEntityProps;
    /** <code>Definition</code>  <a name="cfn-quicksight-template-definition"></a>
  Property description not available.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    definition?: TemplateVersionDefinitionProps;
    /** <code>AwsAccountId</code>  <a name="cfn-quicksight-template-awsaccountid"></a>
  The ID for the AWS account that the group is in. You use the ID for the AWS account that contains your Amazon QuickSight account.<br />
  
  Required: Yes<br />
  
  Minimum: <code>12</code><br />
  
  Maximum: <code>12</code><br />
  
  Pattern: <code>^[0-9]{12}$</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    awsAccountId: Value<string>;
    /** <code>Permissions</code>  <a name="cfn-quicksight-template-permissions"></a>
  A list of resource permissions to be set on the template.<br />
  
  Required: No<br />
  
  Maximum: <code>64</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    permissions?: ResourcePermissionProps[];
    /**  */
    validationStrategy?: ValidationStrategyProps;
    /** <code>Tags</code>  <a name="cfn-quicksight-template-tags"></a>
  Contains a map of the key-value pairs for the resource tag or tags assigned to the resource.<br />
  
  Required: No<br />
  
  Maximum: <code>200</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    tags?: Tag[];
    /** <code>TemplateId</code>  <a name="cfn-quicksight-template-templateid"></a>
  An ID for the template that you want to create. This template is unique per AWS Region; in each AWS account.<br />
  
  Required: Yes<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>512</code><br />
  
  Pattern: <code>[\w\-]+</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    templateId: Value<string>;
    /** <code>Name</code>  <a name="cfn-quicksight-template-name"></a>
  A display name for the template.<br />
  
  Required: No<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>2048</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    name?: Value<string>;
}
