import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types'; import { Page, UpdatePage, PageRoute, PublishPageOptions, PublishPageResponse, UnpublishPageResponse, ArchivePageResponse, UnarchivePageResponse, SchedulePageOptions, SchedulePageResponse, BulkUpdatePageTagsOptions, BulkUpdatePageTagsResponse, BulkUpdatePageTagsApplicationErrors, BulkUpdatePageTagsByFilterOptions, BulkUpdatePageTagsByFilterResponse, BulkUpdatePageTagsByFilterApplicationErrors, PagesQueryBuilder, PageQuery, typedQueryPages } from './index.typings.js'; export { AccountInfo, ActionEvent, ApplicationError, ArchivePageRequest, BulkActionMetadata, BulkUpdatePageTagsByFilterRequest, BulkUpdatePageTagsRequest, BulkUpdatePageTagsResult, CommonQueryWithEntityContext, CreatePageRequest, CreatePageResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DeletePageRequest, DeletePageResponse, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ExtendedFields, GetPageRequest, GetPageResponse, IdentificationData, IdentificationDataIdOneOf, ItemMetadata, MessageEnvelope, PageArchived, PageOriginOneOf, PagePublished, PageQuerySpec, PageScheduled, PageUnarchived, PageUnpublished, PagesQueryResult, PublishPageRequest, QueryPagesRequest, QueryPagesResponse, RemovePageRouteRequest, RemovePageRouteResponse, RestoreInfo, SchedulePageRequest, SetPageRouteRequest, SetPageRouteResponse, SortOrder, SortOrderWithLiterals, Sorting, Status, StatusWithLiterals, TagList, Tags, Type, TypeWithLiterals, UnarchivePageRequest, UnpublishPageRequest, UpdatePageRequest, UpdatePageResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.js'; /** @internal */ declare function createPage$1(httpClient: HttpClient): CreatePageSignature; interface CreatePageSignature { /** * Creates a Page. * @param - Page to be created. * @returns The created Page. */ (page: Page): Promise>; } /** @internal */ declare function getPage$1(httpClient: HttpClient): GetPageSignature; interface GetPageSignature { /** * Retrieves a Page. * @param - ID of the Page to retrieve. * @returns The requested Page. */ (pageId: string): Promise>; } /** @internal */ declare function updatePage$1(httpClient: HttpClient): UpdatePageSignature; interface UpdatePageSignature { /** * Updates a Page. * * * Each time the page is updated, * `revision` increments by 1. * The current `revision` must be passed when updating the page. * This ensures you're working with the latest page * and prevents unintended overwrites. * @param - Page ID. * @returns Updated Page. */ (_id: string, page: NonNullablePaths): Promise>; } /** @internal */ declare function setPageRoute$1(httpClient: HttpClient): SetPageRouteSignature; interface SetPageRouteSignature { /** * Add a route for a page * @param - ID of the Page. * @param - Route to add. */ (pageId: string, pageRoute: PageRoute): Promise; } /** @internal */ declare function removePageRoute$1(httpClient: HttpClient): RemovePageRouteSignature; interface RemovePageRouteSignature { /** * Remove a route for a page * @param - ID of the Page. */ (pageId: string): Promise; } /** @internal */ declare function publishPage$1(httpClient: HttpClient): PublishPageSignature; interface PublishPageSignature { /** * Publish a Page. * @param - ID of the Page to publish. */ (pageId: string, options?: PublishPageOptions): Promise>; } /** @internal */ declare function unpublishPage$1(httpClient: HttpClient): UnpublishPageSignature; interface UnpublishPageSignature { /** * Unpublish a page. * @param - ID of the Page to unpublish. */ (pageId: string): Promise>; } /** @internal */ declare function archivePage$1(httpClient: HttpClient): ArchivePageSignature; interface ArchivePageSignature { /** * Archive a Page. * @param - ID of the Page to archive. */ (pageId: string): Promise>; } /** @internal */ declare function unarchivePage$1(httpClient: HttpClient): UnarchivePageSignature; interface UnarchivePageSignature { /** * Unarchive a Page. * @param - ID of the Page to archive. */ (pageId: string): Promise>; } /** @internal */ declare function schedulePage$1(httpClient: HttpClient): SchedulePageSignature; interface SchedulePageSignature { /** * Schedule a Page for publishing at a future date. * @param - ID of the Page to schedule. */ (pageId: string, options?: SchedulePageOptions): Promise>; } /** @internal */ declare function deletePage$1(httpClient: HttpClient): DeletePageSignature; interface DeletePageSignature { /** * Deletes a Page. * @param - Id of the Page to delete. */ (pageId: string): Promise; } /** @internal */ declare function bulkUpdatePageTags$1(httpClient: HttpClient): BulkUpdatePageTagsSignature; interface BulkUpdatePageTagsSignature { /** * Synchronously update tags on multiple Pages, by list of Pages ids * A tag that appears both in the list of assign and unassign tags, will be assigned * @param - List of NileProtoTagsEntities that their tags will update. */ (pageIds: string[], options?: BulkUpdatePageTagsOptions): Promise & { __applicationErrorsType?: BulkUpdatePageTagsApplicationErrors; }>; } /** @internal */ declare function bulkUpdatePageTagsByFilter$1(httpClient: HttpClient): BulkUpdatePageTagsByFilterSignature; interface BulkUpdatePageTagsByFilterSignature { /** * Asynchronously update tags on multiple Pages, by provided filter * An empty filter will update all Pages * A tag that appears both in the list of assign and unassign tags, will be assigned * @param - Filter */ (filter: Record, options?: BulkUpdatePageTagsByFilterOptions): Promise & { __applicationErrorsType?: BulkUpdatePageTagsByFilterApplicationErrors; }>; } declare function customQueryPages(httpClient: HttpClient): { (): PagesQueryBuilder; (query: PageQuery): ReturnType; }; /** @internal */ declare const createPage: MaybeContext & typeof createPage$1>; /** @internal */ declare const getPage: MaybeContext & typeof getPage$1>; /** @internal */ declare const updatePage: MaybeContext & typeof updatePage$1>; /** @internal */ declare const setPageRoute: MaybeContext & typeof setPageRoute$1>; /** @internal */ declare const removePageRoute: MaybeContext & typeof removePageRoute$1>; /** @internal */ declare const publishPage: MaybeContext & typeof publishPage$1>; /** @internal */ declare const unpublishPage: MaybeContext & typeof unpublishPage$1>; /** @internal */ declare const archivePage: MaybeContext & typeof archivePage$1>; /** @internal */ declare const unarchivePage: MaybeContext & typeof unarchivePage$1>; /** @internal */ declare const schedulePage: MaybeContext & typeof schedulePage$1>; /** @internal */ declare const deletePage: MaybeContext & typeof deletePage$1>; /** @internal */ declare const bulkUpdatePageTags: MaybeContext & typeof bulkUpdatePageTags$1>; /** @internal */ declare const bulkUpdatePageTagsByFilter: MaybeContext & typeof bulkUpdatePageTagsByFilter$1>; declare const queryPages: MaybeContext & typeof customQueryPages>; export { ArchivePageResponse, BulkUpdatePageTagsApplicationErrors, BulkUpdatePageTagsByFilterApplicationErrors, BulkUpdatePageTagsByFilterOptions, BulkUpdatePageTagsByFilterResponse, BulkUpdatePageTagsOptions, BulkUpdatePageTagsResponse, Page, PageQuery, PageRoute, PagesQueryBuilder, PublishPageOptions, PublishPageResponse, SchedulePageOptions, SchedulePageResponse, UnarchivePageResponse, UnpublishPageResponse, UpdatePage, archivePage, bulkUpdatePageTags, bulkUpdatePageTagsByFilter, createPage, deletePage, getPage, publishPage, queryPages, removePageRoute, schedulePage, setPageRoute, unarchivePage, unpublishPage, updatePage };