import { Pages } from "../api/resources/pages/client/Client"; import * as core from "../core"; import * as Webflow from "../api"; import * as SchemaOverrides from "./schemas"; declare module "../api/resources/pages/client/Client" { namespace Pages { } } export declare class Client extends Pages { protected readonly _options: Pages.Options; constructor(_options: Pages.Options); /** * Update Page-level metadata, including SEO and Open Graph fields. * * * Note: When updating Page Metadata in secondary locales, you may only add `slug` to the request if your Site has the [Advanced or Enterprise Localization](https://webflow.com/localization) add-on. * * * Required scope | `pages:write` * * @param {string} pageId - Unique identifier for a Page * @param {Webflow.PageMetadataWrite | SchemaOverrides.PageMetadataWriteBody} request * @param {Pages.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Webflow.BadRequestError} * @throws {@link Webflow.UnauthorizedError} * @throws {@link Webflow.NotFoundError} * @throws {@link Webflow.TooManyRequestsError} * @throws {@link Webflow.InternalServerError} * * @example * await client.pages.updatePageSettings("63c720f9347c2139b248e552", { * localeId: "65427cf400e02b306eaa04a0", * title: "Guide to the Galaxy", * slug: "guide-to-the-galaxy", * seo: { * title: "The Ultimate Hitchhiker's Guide to the Galaxy", * description: "Everything you need to know about the galaxy, from avoiding Vogon poetry to the importance of towels." * }, * openGraph: { * title: "Explore the Cosmos with The Ultimate Guide", * titleCopied: false, * description: "Dive deep into the mysteries of the universe with your guide to everything galactic.", * descriptionCopied: false * } * }) */ updatePageSettings(pageId: string, request?: (Webflow.PageMetadataWrite | SchemaOverrides.PageMetadataWriteBody), requestOptions?: Pages.RequestOptions): core.HttpResponsePromise; private __updatePageSettingsOverride; }