import { ApiHelpers } from "./ApiHelpers"; export declare class DocumentApiHelper { api: ApiHelpers; constructor(api: ApiHelpers); get(id: string): Promise; doesExist(id: string): Promise; create(document: any): Promise; delete(id: string): Promise; update(id: string, document: any): Promise; getAllAtRoot(): Promise; getChildren(id: string): Promise; getChildrenAmount(id: string): Promise; doesNameExist(name: string): Promise; private recurseDeleteChildren; private recurseChildren; getByName(name: string): Promise; ensureNameNotExists(name: string): Promise; publish(id: string, publishSchedulesData?: any): Promise; getDocumentUrl(id: string): Promise; moveToRecycleBin(id: string): Promise; createDefaultDocument(documentName: string, documentTypeId: string): Promise; createDocumentWithTextContent(documentName: string, documentTypeId: string, textContent: string, dataTypeName: string): Promise; createDefaultDocumentWithParent(documentName: string, documentTypeId: string, parentId: string): Promise; createDocumentWithTemplate(documentName: string, documentTypeId: string, templateId: string): Promise; createDocumentWithContentPicker(documentName: string, documentTypeId: string, contentPickerId: string): Promise; createDocumentWithOneMediaPicker(documentName: string, documentTypeId: string, mediaPickerId: string): Promise; createDocumentWithTwoMediaPicker(documentName: string, documentTypeId: string, firstMediaPickerId: string, secondMediaPickerId: string, alias?: string): Promise; createDocumentWithMemberPicker(documentName: string, documentTypeId: string, memberId: string): Promise; createDocumentWithTags(documentName: string, documentTypeId: string, tagsName: string[]): Promise; createDocumentWithExternalLinkURLPicker(documentName: string, documentTypeId: string, link: string, linkTitle: string): Promise; getDomains(id: string): Promise; updateDomains(id: string, domains: any): Promise; createDocumentWithImageMediaPicker(documentName: string, documentTypeId: string, propertyAlias: string, mediaKey: string, focalPoint?: { left: number; top: number; }): Promise; doesImageMediaPickerContainImage(id: string, propertyAlias: string, mediaKey: string): Promise; doesImageMediaPickerContainImageWithFocalPoint(id: string, propertyAlias: string, mediaKey: string, focalPoint: { left: number; top: number; }): Promise; createDocumentWithUploadFile(documentName: string, documentTypeId: string, dataTypeName: string, uploadFileName: string, mineType: string): Promise; createDefaultDocumentWithEnglishCulture(documentName: string, documentTypeId: string): Promise; createDefaultDocumentWithCulture(documentName: string, documentTypeId: string, isoCode: string): Promise; createDocumentWithMultipleVariants(documentName: string, documentTypeId: string, dataTypeAlias: string, cultureVariants: { isoCode: string; name: string; value: string; }[]): Promise; createDocumentWithMultipleVariantsWithSharedProperty(documentName: string, documentTypeId: string, dataTypeAlias: string, dataTypeEditorAlias: string, cultureVariants: { isoCode: string; name: string; }[], value: any): Promise; createDocumentWithEnglishCultureAndTextContent(documentName: string, documentTypeId: string, textContent: string, dataTypeName: string, varyByCultureForText?: boolean): Promise; createPublishedDocumentWithValue(documentName: string, value: any, dataTypeId: string, templateId: string, propertyName?: string, documentTypeName?: string): Promise; isDocumentPublished(id: string): Promise; createPublishedDocumentWithImageCropper(documentName: string, cropValue: any, dataTypeId: string, templateId: string, propertyName?: string, documentTypeName?: string, focalPoint?: { left: number; top: number; }): Promise; createPublishedDocumentWithUploadFile(documentName: string, uploadFileName: string, mineType: string, dataTypeId: string, templateId: string, propertyName?: string, documentTypeName?: string): Promise<{ documentId: string; temporaryFileId: any; }>; createPublishedDocumentWithExternalLinkURLPicker(documentName: string, linkTitle: string, linkUrl: string, dataTypeId: string, templateId: string, propertyName?: string, documentTypeName?: string): Promise; createPublishedDocumentWithDocumentLinkURLPicker(documentName: string, linkedDocumentName: string, linkedDocumentId: string, dataTypeId: string, templateId: string, propertyName?: string, documentTypeName?: string): Promise; createPublishedDocumentWithImageLinkURLPicker(documentName: string, imageName: string, imageId: string, dataTypeId: string, templateId: string, propertyName?: string, documentTypeName?: string): Promise; createPublishedDocumentWithImageLinkAndExternalLink(documentName: string, imageName: string, imageId: string, externalLinkTitle: string, externalLinkUrl: string, dataTypeId: string, templateId: string, propertyName?: string, documentTypeName?: string): Promise; createPublishedDocumentWithTwoMediaPicker(documentName: string, firstMediaPickerId: string, secondMediaPickerId: string, dataTypeId: string, templateId: string, propertyName?: string, documentTypeName?: string): Promise; createDefaultDocumentWithABlockGridEditor(documentName: string, elementTypeId: string, documentTypeName: string, blockGridDataTypeName: string): Promise; createDefaultDocumentWithABlockGridEditorAndBlockWithValue(documentName: string, documentTypeName: string, blockGridDataTypeName: string, elementTypeId: string, elementTypePropertyAlias: string, elementTypePropertyValue: string, elementTypePropertyEditorAlias: string, groupName?: string, templateId?: string): Promise; createDefaultDocumentWithABlockGridEditorAndBlockWithValueAndTwoGroups(documentName: string, documentTypeName: string, blockGridDataTypeName: string, elementTypeId: string, elementTypePropertyAlias: string, elementTypePropertyValue: string, elementTypePropertyEditorAlias: string, groupName: string | undefined, secondPropertyName: string, secondGroupName?: string): Promise; createDefaultDocumentWithABlockGridEditorAndBlockWithTwoValues(documentName: string, documentTypeName: string, blockGridDataTypeName: string, elementTypeId: string, elementTypePropertyAlias: string, elementTypePropertyValue: string, elementTypePropertyEditorAlias: string, groupName: string | undefined, secondElementTypePropertyValue: string, templateId?: string): Promise; createDefaultDocumentWithABlockGridEditorAndBlockWithTwoValuesAndTwoGroups(documentName: string, documentTypeName: string, blockGridDataTypeName: string, elementTypeId: string, elementTypePropertyAlias: string, elementTypePropertyValue: string, elementTypePropertyEditorAlias: string, groupName: string | undefined, secondElementTypePropertyValue: string, secondPropertyName: string, secondGroupName: string): Promise; createDefaultDocumentWithABlockListEditorAndBlockWithValue(documentName: string, documentTypeName: string, blockListDataTypeName: string, elementTypeId: string, elementTypePropertyAlias: string, elementTypePropertyValue: string, elementTypePropertyEditorAlias: string, groupName: string, templateId?: string): Promise; createDefaultDocumentWithABlockListEditor(documentName: string, elementTypeId: string, documentTypeName: string, blockListDataTypeName: string): Promise; createDefaultDocumentWithABlockListEditorAndBlockWithValueAndTwoGroups(documentName: string, documentTypeName: string, blockListDataTypeName: string, elementTypeId: string, elementTypePropertyAlias: string, elementTypePropertyValue: string, elementTypePropertyEditorAlias: string, groupName: string | undefined, secondPropertyName: string, secondGroupName?: string): Promise; createDefaultDocumentWithABlockListEditorAndBlockWithTwoValues(documentName: string, documentTypeName: string, blockListDataTypeName: string, elementTypeId: string, elementTypePropertyAlias: string, elementTypePropertyValue: string, elementTypePropertyEditorAlias: string, groupName: string | undefined, secondElementTypePropertyValue: string, templateId?: string): Promise; createDefaultDocumentWithABlockListEditorAndBlockWithTwoValuesAndTwoGroups(documentName: string, documentTypeName: string, blockListDataTypeName: string, elementTypeId: string, elementTypePropertyAlias: string, elementTypePropertyValue: string, elementTypePropertyEditorAlias: string, groupName: string | undefined, secondElementTypePropertyValue: string, secondPropertyName: string, secondGroupName: string): Promise; createDefaultDocumentWithABlockListEditorAndBlockGridEditorWithSameAllowedBlock(documentName: string, documentTypeName: string, blockListDataTypeName: string, blockGridDataTypeName: string, elementTypeId: string, elementTypePropertyAlias: string, blockListElementTypePropertyValue: string, blockListElementTypePropertyEditorAlias: string, blockListGroupName: string | undefined, blockGridElementTypePropertyValue: string, blockGridElementTypePropertyEditorAlias: string, blockGridGroupName?: string): Promise; createDefaultDocumentWithABlockListEditorAndBlockGridEditorWithDifferentAllowedBlock(documentName: string, documentTypeName: string, blockListDataTypeName: string, blockGridDataTypeName: string, blockListElementTypeId: string, blockListElementTypePropertyAlias: string, blockListElementTypePropertyValue: string, blockListElementTypePropertyEditorAlias: string, blockListGroupName: string | undefined, blockGridElementTypeId: string, blockGridElementTypePropertyAlias: string, blockGridElementTypePropertyValue: string, blockGridElementTypePropertyEditorAlias: string, blockGridGroupName?: string): Promise; createDocumentWithABlockGridEditorWithABlockThatContainsABlockInAnArea(documentName: string, documentTypeId: string, blockGridDataTypeName: string, firstElementTypeKey: string, areaKey: string, secondElementTypeKey: string, elementTypePropertyAlias: string, elementTypePropertyValue: string, elementTypePropertyEditorAlias: string): Promise; createDocumentWithTextContentAndOneDomain(documentName: string, documentTypeId: string, textContent: string, dataTypeName: string, domainName: string, isoCode?: string): Promise; createDocumentWithTextContentAndTwoDomains(documentName: string, documentTypeId: string, textContent: string, dataTypeName: string, firstDomainName: string, firstIsoCode: string | undefined, secondDomainName: string, secondIsoCode?: string): Promise; doesTipTapDataTypeWithNameContainBlockWithValue(documentName: string, dataTypeAlias: string, elementTypeId: string, elementTypeDataTypeAlias: string, blockValue: string): Promise; createDocumentWithMultipleCulturesAndSegmentValues(documentName: string, documentTypeId: string, dataTypeName: string, editorAlias: string, cultures: string[], values: { value: string; culture: string; segment: string | null; }[]): Promise; createDocumentWithMultipleSegmentValues(documentName: string, documentTypeId: string, dataTypeName: string, editorAlias: string, values: { value: string; segment: string | null; }[]): Promise; publishDocumentWithCulture(id: string, culture: string): Promise; createDocumentWithTextContentAndParent(documentName: string, documentTypeId: string, textContent: string, dataTypeName: string, parentId: string): Promise; createDocumentWithEnglishCultureAndTextContentAndParent(documentName: string, documentTypeId: string, textContent: string, dataTypeName: string, parentId: string, varyByCultureForText?: boolean): Promise; doesBlockGridContainBlocksWithDataElementKeyInAreaWithKey(documentName: string, blockGridAlias: string, blockContentKey: string, areaKey: string, blocksInAreas: string[]): Promise; emptyRecycleBin(): Promise; getRecycleBinItems(): Promise; doesItemExistInRecycleBin(documentItemName: string): Promise; createDocumentWithTwoCulturesAndTextContent(documentName: string, documentTypeId: string, textContent: string, dataTypeName: string, firstCulture: string, secondCulture: string, firstDomainName?: string, secondDomainName?: string): Promise; createDefaultDocumentWithOneDocumentLink(documentName: string, linkedDocumentName: string, linkedDocumentId: string, documentTypeName?: string): Promise; createDefaultDocumentWithOneMediaLink(documentName: string, linkedMediaName: string, documentTypeName?: string): Promise; createVariantDocumentWithVariantProperty(documentName: string, documentTypeId: string, dataTypeName: string, propertyVariants: { culture: string; value: any; }[]): Promise; updateDomainsForVariantDocument(documentId: string, domains: { domainName: string; isoCode: string; }[]): Promise; addTextstringValueToInvariantDocument(documentId: string, dataTypeName: string, textValue: string): Promise; getNotifications(id: string): Promise; updatetNotifications(id: string, subscribedActionIds?: string[]): Promise; doesNotificationExist(id: string, actionId: string): Promise; createDocumentWithElementPickers(documentName: string, documentTypeId: string, dataTypeName: string, elementPickerIds: string[]): Promise; }