import { ApiHelpers } from "./ApiHelpers"; export declare class DataTypeApiHelper { api: ApiHelpers; constructor(api: ApiHelpers); get(id: string): Promise; create(name: string, editorAlias: string, editorUiAlias: string, values: { alias: string; value: string; }[], parentId?: string, id?: string): Promise; update(id: string, dataType: any): Promise; delete(id: string): Promise; getAllAtRoot(): Promise; doesExist(id: string): Promise; getItems(ids: string[]): Promise; getByName(name: string): Promise; ensureNameNotExists(name: string): Promise; doesNameExist(name: string): Promise; moveToFolder(dataTypeId: string, folderId: string): Promise; copyToFolder(dataTypeId: string, folderId: string): Promise; getFolder(id: string): Promise; createFolder(name: string, parentId?: string, id?: string): Promise; renameFolder(id: string, name: string): Promise; deleteFolder(id: string): Promise; doesFolderExist(id: string): Promise; getChildren(id: string): Promise; private recurseDeleteChildren; private recurseChildren; save(dataType: any): Promise; createDefaultDateTimeDataType(name: string): Promise; createCheckboxListDataType(name: string, options?: string[]): Promise; createContentPickerDataTypeWithStartNode(name: string, startNodeId: string): Promise; createContentPickerDataTypeWithShowOpenButton(name: string): Promise; createContentPickerDataTypeWithIgnoreUserStartNodes(name: string, startNodeId: string): Promise; createDateTimeDataTypeWithDateFormat(name: string, dateFormat: string): Promise; createDropdownDataType(name: string, isMultiple: boolean, options: string[]): Promise; createEmptyBlockListDataType(name: string): Promise; createBlockListDataTypeWithTwoBlocks(name: string, firstContentElementTypeId: string, secondContentElementTypeId: string): Promise; createBlockListDataTypeWithABlock(name: string, contentElementTypeId: string): Promise; createBlockListDataTypeWithContentAndSettingsElementType(name: string, contentElementTypeId: string, settingsElementTypeId: string): Promise; createBlockListDataTypeWithMinAndMaxAmount(name: string, minAmount?: number, maxAmount?: number): Promise; createBlockListDataTypeWithSingleBlockMode(name: string, enabled: boolean): Promise; createBlockListDataTypeWithLiveEditingMode(name: string, enabled: boolean): Promise; createBlockListDataTypeWithInlineEditingMode(name: string, enabled: boolean): Promise; createBlockListDataTypeWithPropertyEditorWidth(name: string, width: string): Promise; createBlockListWithBlockWithEditorAppearance(name: string, elementTypeId: string, label?: string, overlaySize?: string): Promise; createBlockListWithBlockWithCatalogueAppearance(name: string, elementTypeId: string, backgroundColor?: string, iconColor?: string, customStylesheet?: string): Promise; createBlockListWithBlockWithHideContentEditor(name: string, elementTypeId: string, hideContentEditor: boolean): Promise; isSingleBlockModeEnabledForBlockList(blockListName: string, enabled: boolean): Promise; isInlineEditingModeEnabledForBlockList(blockListName: string, enabled: boolean): Promise; createEmptyBlockGrid(blockGridName: string): Promise; createBlockGridWithABlock(blockGridName: string, contentElementTypeId: string): Promise; createBlockGridWithABlockInAGroup(blockGridName: string, contentElementTypeId: string, groupName: string): Promise; createBlockGridWithMinAndMaxAmount(blockGridName: string, minAmount?: number, maxAmount?: number): Promise; createBlockGridWithLiveEditingMode(blockGridName: string, enabled: boolean): Promise; createBlockGridWithPropertyEditorWidth(blockGridName: string, width: string): Promise; createBlockGridWithCreateButtonLabel(blockGridName: string, label?: string): Promise; createBlockGridWithGridColumns(blockGridName: string, columns?: number): Promise; createBlockGridWithLayoutStylesheet(blockGridName: string, stylesheetName: string): Promise; createBlockGridWithAnAreaInABlock(blockGridName: string, contentElementTypeId: string, areaAlias?: string, createButtonLabel?: string, columnSpan?: number, rowSpan?: number, minAllowed?: number, maxAllowed?: number): Promise; createBlockGridWithAnAreaInABlockWithAllowInAreas(blockGridName: string, contentElementTypeId: string, areaAlias?: string, allowInAreas?: boolean, createButtonLabel?: string, columnSpan?: number, rowSpan?: number, minAllowed?: number, maxAllowed?: number): Promise; createBlockGridWithAnAreaInABlockWithAllowInAreasAndASecondBlock(blockGridName: string, contentElementTypeId: string, secondContentElementTypeId: string, areaAlias?: string, allowInAreas?: boolean, createButtonLabel?: string, columnSpan?: number, rowSpan?: number, minAllowed?: number, maxAllowed?: number, secondBlockAllowAtRoot?: boolean, secondBlockAllowInAreas?: boolean): Promise; createBlockGridWithAnAreaInABlockWithACreateLabel(blockGridName: string, contentElementTypeId: string, createButtonLabel?: string, areaAlias?: string): Promise; createBlockGridWithAnAreaInABlockWithColumnSpanAndRowSpan(blockGridName: string, contentElementTypeId: string, columnSpan?: number, rowSpan?: number, areaAlias?: string, createButtonLabel?: string): Promise; createBlockGridWithAnAreaInABlockWithMinAndMaxAllowed(blockGridName: string, contentElementTypeId: string, secondContentElementTypeId: string, minAllowed?: number, maxAllowed?: number, areaAlias?: string, createButtonLabel?: string): Promise; createBlockGridWithAdvancedSettingsInBlock(blockGridName: string, contentElementTypeId: string, customViewPath?: string, customStylesheetPath?: string, overlaySize?: string, inlineEditing?: boolean, hideContentEditor?: boolean): Promise; createBlockGridWithCatalogueAppearanceInBlock(blockGridName: string, contentElementTypeId: string, backgroundColor?: string, iconColor?: string, thumbnail?: string): Promise; createBlockGridWithContentAndSettingsElementType(blockGridName: string, contentElementTypeId: string, settingsElementTypeId: string, allowAtRoot?: boolean): Promise; createBlockGridWithLabel(blockGridName: string, contentElementTypeId: string, label: string, allowAtRoot?: boolean): Promise; createBlockGridWithPermissions(blockGridName: string, contentElementTypeId: string, toAllowInRoot?: boolean, toAllowInAreas?: boolean): Promise; createBlockGridWithSizeOptions(blockGridName: string, contentElementTypeId: string, columnSpans?: number, minRowSpan?: number, maxRowSpan?: number): Promise; createBlockGridWithABlockWithInlineEditingModeAndABlockWithAnArea(blockGridName: string, firstBlockElementTypeId: string, inlineEditing: boolean, secondBlockElementTypeId: string, areaAlias?: string): Promise; getBlockGridAreaKeyFromBlock(blockGridName: string, elementTypeKey: string, areaAlias: string): Promise; doesBlockEditorContainBlocksWithContentTypeIds(blockEditorName: string, elementTypeIds: string[]): Promise; doesBlockEditorContainBlocksWithSettingsTypeIds(blockEditorName: string, elementTypeIds: string[]): Promise; isLiveEditingModeEnabledForBlockEditor(blockEditorName: string, enabled: boolean): Promise; doesMaxPropertyContainWidthForBlockEditor(blockEditorName: string, width: string): Promise; doesBlockEditorBlockContainLabel(blockName: string, elementTypeKey: string, label: string): Promise; doesBlockGridGroupContainCorrectBlocks(blockGridName: string, groupName: string, elementTypeIds: string[]): Promise; doesBlockGridContainCreateButtonLabel(blockGridName: string, label: string): Promise; doesBlockGridContainGridColumns(blockGridName: string, columns: number): Promise; doesBlockEditorBlockHaveAllowInRootEnabled(blockGridName: string, elementTypeKey: string): Promise; doesBlockEditorBlockHaveAllowInAreasEnabled(blockGridName: string, elementTypeKey: string): Promise; doesBlockEditorBlockContainColumnSpanOptions(blockGridName: string, elementTypeKey: string, expectedColumnSpans: number[]): Promise; doesBlockEditorBlockContainRowSpanOptions(blockGridName: string, elementTypeKey: string, minRowSpan: number, maxRowSpan: number): Promise; doesBlockEditorBlockContainAreaGridColumns(blockGridName: string, elementTypeKey: string, areaGridColumns: number): Promise; doesBlockEditorBlockContainAreaWithAlias(blockGridName: string, elementTypeKey: string, areaAlias?: string): Promise; doesBlockEditorBlockContainAreaCount(blockGridName: string, elementTypeKey: string, areaCount: number): Promise; doesBlockEditorBlockContainAreaWithCreateButtonLabel(blockGridName: string, elementTypeKey: string, areaAlias: string | undefined, createButtonLabel: string): Promise; doesBlockEditorBlockContainAreaWithMinAllowed(blockGridName: string, elementTypeKey: string, areaAlias: string | undefined, minAllowed: number): Promise; doesBlockEditorBlockContainAreaWithMaxAllowed(blockGridName: string, elementTypeKey: string, areaAlias: string | undefined, maxAllowed: number): Promise; doesBlockEditorBlockContainAreaWithSpecifiedAllowance(blockGridName: string, elementTypeKey: string, areaAlias?: string): Promise; doesBlockEditorBlockContainStylesheet(blockGridName: string, elementTypeKey: string, stylesheetPath: string): Promise; doesBlockEditorBlockContainOverlaySize(blockGridName: string, elementTypeKey: string, overlaySize: string): Promise; doesBlockEditorBlockContainInlineEditing(blockGridName: string, elementTypeKey: string, inlineEditing: boolean): Promise; doesBlockEditorBlockContainHideContentEditor(blockGridName: string, elementTypeKey: string, hideContentEditor: boolean): Promise; doesBlockEditorBlockContainBackgroundColor(blockGridName: string, elementTypeKey: string, backgroundColor: string): Promise; doesBlockEditorBlockContainIconColor(blockGridName: string, elementTypeKey: string, iconColor: string): Promise; doesBlockEditorBlockContainThumbnail(blockGridName: string, elementTypeKey: string, thumbnail: string): Promise; getBlockWithContentElementTypeId(blockGridName: string, contentElementTypeKey: string): Promise; createImageCropperDataTypeWithOneCrop(name: string, cropLabel: string, cropWidth: number, cropHeight: number): Promise; createMediaPickerDataTypeWithStartNodeId(name: string, startNodeId: string): Promise; createRadioboxDataType(name: string, options?: string[]): Promise; createImageMediaPickerDataType(name: string, minValue?: number, maxValue?: number, enableLocalFocalPoint?: boolean, ignoreUserStartNodes?: boolean): Promise; createImageMediaPickerDataTypeWithStartNodeId(name: string, startNodeId: string): Promise; createImageMediaPickerDataTypeWithCrop(name: string, label: string, width: number, height: number): Promise; createTextareaDataType(name: string, maxChars?: number, rows?: number, minHeight?: number, maxHeight?: number): Promise; createTextstringDataType(name: string, maxChars?: number): Promise; createTrueFalseDataTypeWithInitialState(name: string): Promise; createTrueFalseDataTypeWithLabelOn(name: string, labelOn: string): Promise; createTrueFalseDataTypeWithLabelOff(name: string, labelOff: string): Promise; createEmailAddressDataType(name: string): Promise; createCodeEditorDataType(name: string): Promise; createMarkdownEditorDataType(name: string): Promise; createDecimalDataType(name: string): Promise; createMultipleTextStringDataType(name: string): Promise; createSliderDataType(name: string): Promise; createListViewContentDataType(name?: string): Promise; createListViewContentDataTypeWithLayoutAndPageSize(name?: string, layoutAlias?: string, layoutName?: string, pageSize?: number): Promise; createListViewContentDataTypeWithAllPermissions(name?: string): Promise; updateListViewMediaDataType(alias: string, newValue: any): Promise; createDefaultTiptapDataType(name: string): Promise; createTipTapDataTypeWithABlock(name: string, contentElementTypeKey: string): Promise; createApprovedColorDataTypeWithOneItem(name: string, itemLabel: string, itemValue: string): Promise; getTiptapExtensionsCount(tipTapName: string): Promise; getTiptapToolbarGroupInRowCount(tipTapName: string, rowIndex?: number): Promise; getTiptapToolbarGroupValueInRow(tipTapName: string, groupIndex: number, rowIndex?: number): Promise; getTiptapToolbarRowCount(tipTapName: string): Promise; createDefaultTinyMCEDataType(name: string): Promise; getTinyMCEToolbarItemsCount(tinyMCEName: string): Promise; doesTinyMCEToolbarItemsMatchCount(tinyMCEName: string, count: number): Promise; doesTinyMCEToolbarHaveItems(tinyMCEName: string, items: string[]): Promise; createTiptapDataTypeWithTwoToolbarRows(name: string): Promise; createTinyMCEDataTypeWithStylesheet(name: string, stylesheetPath: string): Promise; createBlockGridWithABlockAndAllowAtRoot(blockGridName: string, contentElementTypeId: string, allowAtRoot?: boolean): Promise; createBlockGridWithABlockAndMinAndMaxAmount(blockGridName: string, contentElementTypeId: string, minAmount?: number, maxAmount?: number): Promise; createBlockGridWithABlockAndCreateButtonLabel(blockGridName: string, contentElementTypeId: string, label?: string): Promise; createBlockGridWithABlockAndGridColumns(blockGridName: string, contentElementTypeId: string, gridColumns: number): Promise; createBlockListWithABlockAndMinAndMaxAmount(blockListName: string, contentElementTypeId: string, minAmount?: number, maxAmount?: number): Promise; createBlockListDataTypeWithLabel(blockListName: string, contentElementTypeId: string, label: string): Promise; doesBlockGridContainLayoutStylesheet(blockGridName: string, stylesheetName: string): Promise; createRichTextEditorWithABlock(richTextEditorName: string, contentElementTypeId: string): Promise; createRichTextEditorWithABlockWithBlockSettings(richTextEditorName: string, contentElementTypeId: string, label?: string, backgroundColor?: string, iconColor?: string, thumbnail?: string, editorSize?: string, settingsElementTypeId?: string, displayInline?: boolean): Promise; createRichTextEditorWithABlockWithBlockSettingEditorSize(richTextEditorName: string, contentElementTypeId: string, editorSize: string): Promise; createRichTextEditorWithABlockWithBlockSettingLabel(richTextEditorName: string, contentElementTypeId: string, label: string): Promise; createRichTextEditorWithABlockWithBlockSettingBackgroundColor(richTextEditorName: string, contentElementTypeId: string, backgroundColor: string): Promise; createRichTextEditorWithABlockWithBlockSettingIconColor(richTextEditorName: string, contentElementTypeId: string, iconColor: string): Promise; createRichTextEditorWithABlockWithBlockSettingThumbnail(richTextEditorName: string, contentElementTypeId: string, thumbnail: string): Promise; createRichTextEditorWithABlockWithBlockSettingSettingsElementTypeKey(richTextEditorName: string, contentElementTypeId: string, settingsElementTypeId: string): Promise; createRichTextEditorWithABlockWithBlockSettingDisplayInline(richTextEditorName: string, contentElementTypeId: string, displayInline: boolean): Promise; createDefaultContentPickerSourceDataType(name: string): Promise; createContentPickerSourceDataTypeWithDynamicRoot(name: string, originAlias: string): Promise; doesContentPickerHaveDynamicRoot(dataTypeName: string, originAlias: string): Promise; getContentPickerDynamicRoot(dataTypeName: string): Promise; doesDataTypeHaveValue(dataTypeName: string, alias: string, value?: any, dataTypeData?: any): Promise; doesApprovedColorHaveColor(dataTypeName: string, color: string): Promise; createUploadDataType(name: string, fileExtensions?: string[]): Promise; createDefaultApprovedColorDataType(name: string): Promise; createDefaultContentPickerDataType(name: string): Promise; createDefaultDropdownDataType(name: string): Promise; createDefaultLabelDataType(name: string): Promise; createDefaultMediaPickerDataType(name: string): Promise; doesMediaPickerHaveMinAndMaxAmount(dataTypeName: string, min: number, max: number): Promise; doesDataTypeHaveCrops(dataTypeName: string, cropLabel: string, cropAlias: string, cropWidth: number, cropHeight: number): Promise; doesRTEHaveDimensions(dataTypeName: string, width: number, height: number): Promise; doesTiptapExtensionsItemsMatchCount(tiptapName: string, count: number): Promise; doesTiptapExtensionsHaveItems(tiptapName: string, items: string[]): Promise; doesTiptapToolbarHaveItems(tiptapName: string, items: any): Promise; doesRTEContainBlocks(dataTypeName: string, elementTypeIds: string[]): Promise; createDefaultImageCropperDataType(name: string): Promise; doesListViewHaveProperty(dataTypeName: string, header: string, alias: string, isSystem?: any): Promise; doesListViewHaveLayout(dataTypeName: string, name: string, icon: string, collectionView: string): Promise; createDefaultMultiUrlPickerDataType(name: string): Promise; createDefaultNumericDataType(name: string): Promise; createDefaultTagsDataType(name: string): Promise; createDefaultTrueFalseDataType(name: string): Promise; createBlockListDataTypeWithInlineEditingModeAndABlock(blockListName: string, contentElementTypeId: string, inlineEditing?: boolean): Promise; createBlockGridWithABlockWithInlineEditingMode(blockGridName: string, contentElementTypeId: string, inlineEditing?: boolean): Promise; createTiptapDataTypeWithWordCountStatusbar(name: string): Promise; createTiptapDataTypeWithElementPathStatusbar(name: string): Promise; createTiptapDataTypeWithStyleSelect(name: string): Promise; createMultiNodeTreePickerDataTypeWithAllowedTypes(name: string, allowedTypeIds: string, startNodeType?: string): Promise; createDefaultDateTimeWithTimeZonePickerDataType(name: string): Promise; doesDateTimeWithTimeZoneHaveMode(dataTypeName: string, mode: string): Promise; doesDateTimeWithTimeZoneHaveTimeZones(dataTypeName: string, timeZones: string[]): Promise; createEntityDataPickerDataType(name: string, dataSource: string): Promise; createEntityDataPickerDataTypeWithMinAndMaxValues(name: string, dataSource: string, min: number, max: number): Promise; createBlockGridWithAThumbnail(blockGridName: string, contentElementTypeId: string, thumbnailPath: string): Promise; createBlockListWithAThumbnail(blockListName: string, contentElementTypeId: string, thumbnailPath: string): Promise; createDefaultElementPickerDataType(name: string): Promise; createDefaultElementPickerWithValidationLimit(name: string, minValidation?: number, maxValidation?: number): Promise; doesElementPickerHaveMinAndMaxAmount(dataTypeName: string, min?: number, max?: number): Promise; }