import { BasePage } from '@jahia/cypress'; import { ComponentType } from '@jahia/cypress/src/page-object/baseComponent'; import { ChoiceListField, ChoiceTreeField, DateField, Field, PickerField, RichTextField, SmallTextField } from './fields'; import { LanguageSwitcher } from './languageSwitcher'; import { Breadcrumb } from './breadcrumb'; import { Section } from './section'; export declare class ContentEditor extends BasePage { static defaultSelector: string; languageSwitcher: LanguageSwitcher; createAnother: boolean; advancedMode: boolean; static getUrl(path: string, site: string, language: string, jContentPath: string): Cypress.Chainable; static visit(path: string, site: string, language: string, jContentPath: string): ContentEditor; static getContentEditor(): ContentEditor; assertStatusType(statusType: string): Cypress.Chainable>; getTitle(): Cypress.Chainable>; getSection(sectionName: string): Section; openSection(sectionName: string): import("@jahia/cypress").Collapsible; closeSection(sectionName: string): import("@jahia/cypress").Collapsible; create(): void; createUnchecked(): void; save(checked?: boolean): void; saveUnchecked(): void; discardErrorDialog(): void; editSavedContent(): void; cancel(): void; cancelAndDiscard(): void; discard(): void; addAnotherContent(): void; removeAnotherContent(): void; activateWorkInProgressMode(language?: string): void; deactivateWorkInProgressMode(language?: string): void; getLanguageSwitcher(): LanguageSwitcher; getLanguageSwitcherAdvancedMode(): LanguageSwitcher; switchToAdvancedMode(): void; switchToSidePanelPreviewTab(): void; validateContentIsVisibleInPreview(content: string): void; validateContentIsNotVisibleInPreview(content: string): void; assertValidationErrorsNotExist(): Cypress.Chainable>; assertValidationErrorsExists(): Cypress.Chainable>; getRichTextField(fieldName: string): RichTextField; getChoiceTreeField(fieldName: string, multiple?: boolean): ChoiceTreeField; getPickerField(fieldName: string, multiple?: boolean): PickerField; getSmallTextField(fieldName: string, multiple?: boolean): SmallTextField; getChoiceListField(fieldName: string, multiple?: boolean): ChoiceListField; getDateField(fieldName: string): DateField; getField(FieldComponent: ComponentType, fieldName: string, multiple?: boolean): FieldType; getDynamicFieldset(mixinType: string): Cypress.Chainable>; toggleOption(optionType: string, optionFieldName?: string): void; checkButtonStatus(role: string, enabled: boolean): void; openContentEditorHeaderMenu(): void; publish(): void; getBreadcrumb(content: string): Breadcrumb; openWorkflowsFromModesDropdown(): void; openEditRolesFromModesDropdown(): void; }