interface UserSettings { builtInExtensions: string[]; showErrorMessages: boolean; pierceShadowRoot: boolean; adaptStyleMap: boolean; createElementMap: boolean; } interface UserResourceSettings extends UserSettings { preloadImages: boolean; preloadFonts: boolean; preloadLocalFonts: boolean; preloadCustomElements: boolean; outputEmptyCopyDirectory: boolean; outputDocumentHandler: string | string[]; outputArchiveFormat: string; outputArchiveName: string; outputArchiveCache: boolean; outputSummaryModal: boolean | string; formatUUID?: string; formatDictionary?: string; outputTasks?: ObjectMap; outputWatch?: ObjectMap; outputConfigName?: string; observePort?: number; observeSecurePort?: number; observeExpires?: string; broadcastPort?: number; broadcastSecurePort?: number; } interface UserResourceSettingsUI extends UserResourceSettings { enabledSVG: boolean; supportNegativeLeftTop: boolean; showAttributes: boolean | AnyObject; showComments: boolean | CssStyleAttr[] | { include?: ShowCommentsInclude } & ObjectMap; insertSpaces: number; outputDirectory: string; outputDocumentEditing: boolean; outputDocumentCSS: CssStyleAttr[]; defaultIntlLocales?: ResourceIntlLocales; convertEntities?: Array<"numeric" | "codepoints" | "characters" | AnyObject>; useShapeGeometryBox?: boolean; framesPerSecond?: number; resolutionScreenWidth?: number; resolutionScreenHeight?: number; } interface ControllerSettings { adoptedStyleSheet?: string; mimeType: { font: MIMEOrAll; image: MIMEOrAll; audio: MIMEOrAll; video: MIMEOrAll; }; } interface ControllerSettingsUI extends ControllerSettings { layout: ControllerSettingsLayoutUI; directory: T; style: ControllerSettingsStyleUI; unsupported: ControllerSettingsUnsupportedUI; deviations: ControllerSettingsDeviationsUI; baseStyle?: ControllerSettingsBaseStyleUI; floatPrecision: number; } interface ControllerSettingsLayoutUI { fileExtension: string; baseTemplate?: string; innerXmlTags?: string[]; } interface ControllerSettingsDirectoryUI { layout: string; string: string; font: string; image: string; video: string; audio: string; } interface ControllerSettingsStyleUI { anchorFontColor: string; /** @deprecated inputFontSize | buttonFontSize | textareaFontSize | selectFontSize */ formFontSize: string; inputBorderColor: string; inputBorderWidth: string; inputBorderStyle: string; inputDisabledBorderColor: string; inputBackgroundColor?: string; inputDisabledBackgroundColor?: string; inputFileBackgroundColor?: string; inputFileDisabledBackgroundColor?: string; buttonBorderColor: string; buttonBorderWidth: string; buttonBorderStyle: string; buttonPaddingVertical: string; buttonPaddingHorizontal: string; buttonDisabledBorderColor: string; buttonBackgroundColor?: string; buttonDisabledBackgroundColor?: string; hrBorderColor: string; rangeForegroundColor: string; rangeBackgroundColor: string; rangeBackgroundCenterHeight: number; meterForegroundColor: string; meterBackgroundColor: string; progressForegroundColor: string; progressBackgroundColor: string; targetTextBackgroundColor?: string; inputFontSize?: string; buttonFontSize?: string; textareaFontSize?: string; selectFontSize?: string; h1FontSize?: string; h2FontSize?: string; h3FontSize?: string; h4FontSize?: string; h5FontSize?: string; h6FontSize?: string; rtFontSize?: string; iframeBorderColor?: string; iframeBorderWidth?: string; iframeBorderStyle?: string; inputPlaceholderColor?: string; } interface ControllerSettingsBaseStyleUI { math?: CssStyleMap; } interface ControllerSettingsUnsupportedUI { cascade: string[]; excluded: string[]; tagName: string[]; layer?: string[]; } interface ControllerSettingsDeviationsUI { textMarginBoundarySize: number; } interface ExtensionDependency { name: string; leading?: boolean; trailing?: boolean; } interface ExtensionResult { output?: NodeTemplate; parent?: T; outerParent?: T; parentAs?: T; renderAs?: T; outputAs?: NodeTemplate; complete?: boolean; next?: boolean; include?: boolean; subscribe?: boolean; remove?: boolean; } interface NodeTemplate { type: number; node: T; parent?: T; } interface NodeXmlTemplate extends NodeTemplate { controlName: string; attributes?: string; } interface NodeIncludeTemplate extends NodeTemplate { content: string; } interface LayoutType { containerType: number; alignmentType: number; } interface LayoutRoot extends PathInfo { node: T; renderTemplates: NodeTemplate[]; filename: string; systemDefined?: boolean; documentBase?: boolean; } /** @deprecated AppProjectUI */ interface FinalizeDataExtensionUI { projectId: string; resourceId: number; rendered: T[]; documentRoot: LayoutRoot[]; layouts: LayoutAsset[]; requireFormat?: boolean; } interface FinalizedElement { id: string; documentId: string; bounds: BoxRectDimension; css: CssStyleMap; outerWrapperIds?: string[]; } interface ShowCommentsInclude { tagName?: boolean | string[]; attributes?: boolean | string[]; dataset?: boolean; bounds?: boolean; }