import * as Options from '../options'; import { BaseService } from '../infrastructure'; import { Page } from '../interfaces'; /** * A service for manipulating Shopify pages. */ export declare class Pages extends BaseService { constructor(shopDomain: string, accessToken: string); /** * Creates a new page. * @param page The page being created. */ create(page: Partial): Promise; /** * Retrieves a single page by its ID. * @param id Id of the page to retrieve. * @param options Options for filtering the result. */ get(id: number, options?: Options.PageGetOptions): Promise>; /** * Updates a page with the given id. * @param id Id of the page being updated. * @param page The updated page. */ update(id: number, page: Partial): Promise; /** * Retrieve a list of all pages. * @param options Options for filtering the results. */ list(options?: Options.PageListOptions): Promise[]>; /** * Retrieves a page count. */ count(options?: Options.PageCountOptions): Promise; /** * Deletes a page with the given id. * @param id Id of the page being deleted. */ delete(id: number): Promise<{ id: number; }>; } export default Page;