import { EditorAPI } from '../../types/CommonTypes'; /** * The PageController is responsible for all communication regarding Pages. * Methods inside this controller can be called by `window.SDK.page.{method-name}` */ export declare class PageController { #private; /** * @ignore */ constructor(editorAPI: EditorAPI); /** * This method will set the width of all pages to a specific value. * This only works if the document is a project. * @param width the string value that will be calculated (f.e. 1+1 will result in 2) The default unit is in the current layout unit (e.g. px, mm, in) * @returns */ setWidth: (width: string) => Promise>; /** * This method will set the height of all pages to a specific value. * This only works if the document is a project. * @param height the string value that will be calculated (f.e. 1+1 will result in 2). The default unit is in the current layout unit (e.g. px, mm, in) * @returns */ setHeight: (height: string) => Promise>; }