import { IClientsidePageComponent, IClientsidePage, ClientsidePageLayoutType, PromotedState, IRepostPage } from "./types.js"; declare module "../webs/types" { interface _Web { getClientsideWebParts(): Promise; addClientsidePage(pageName: string, title?: string, libraryTitle?: string, promotedState?: PromotedState): Promise; loadClientsidePage(path: string): Promise; addRepostPage(details: IRepostPage): Promise; addFullPageApp(pageName: string, title: string, componentId: string, promotedState?: PromotedState): Promise; } interface IWeb { /** * Gets the collection of available client side web parts for this web instance */ getClientsideWebParts(): Promise; /** * Creates a new client side page * * @param pageName Name of the new page * @param title Display title of the new page */ addClientsidePage(pageName: string, title?: string, PageLayoutType?: ClientsidePageLayoutType, promotedState?: PromotedState): Promise; /** * Loads a page from the provided server relative path to the file * * @param path Server relative path to the file (ex: "/sites/dev/sitepages/page.aspx") */ loadClientsidePage(path: string): Promise; /** * Adds a repost page * * @param details The request details to create the page */ addRepostPage(details: IRepostPage): Promise; /** * Creates a new single page app page and installs the indicated component * * @param componentId */ addFullPageApp(pageName: string, title: string, componentId: string, promotedState?: PromotedState): Promise; } } //# sourceMappingURL=web.d.ts.map