import { BasePage } from '@jahia/cypress'; import { JContent } from './jcontent'; import { Folder } from './folder'; import { File } from './file'; export declare class Media extends BasePage { jcontent: JContent; constructor(jcontent: JContent); open(): Media; createFolder(parentPath: string, folderName: string): Folder; createInvalidFolder(parentPath: string, folderName: string): Media; createFile(fileName: string): File; uploadFileViaDragAndDrop(fileName: string, fixtureSubFolder: string): File; uploadFileViaDialog(fileName: string, fixtureSubFolder?: string): File; private waitForUploadToComplete; switchView(displayMode: 'list' | 'grid'): this; switchSortDirection(direction: 'asc' | 'desc'): this; switchSortProperty(property: 'name' | 'type' | 'size' | 'lastModified'): this; }