import { ValidatedResponse, type ValidatedResponseArgs } from '@txstate-mws/graphql-server'; import { DateTime } from 'luxon'; import { PagetreeType, LaunchState } from '../internal.js'; export declare enum DeleteState { NOTDELETED = 0, MARKEDFORDELETE = 1, DELETED = 2 } export declare enum DeleteStateInput { NOTDELETED = 0, MARKEDFORDELETE = 1, DELETED = 2, ORPHAN_NOTDELETED = 3, ORPHAN_MARKEDFORDELETE = 4, ORPHAN_DELETED = 5, ALL = 6 } export declare const DeleteStateRootDefault: DeleteStateInput[]; export declare const DeleteStateDefault: DeleteStateInput[]; export declare const DeleteStateAll: DeleteStateInput[]; export declare class Page { internalId: number; id: string; name: string; linkId: string; deleted: boolean; deletedAt?: DateTime; deleteState: DeleteState; title: string; get fallbackTitle(): string; launchState: LaunchState; deletedBy?: number; pagetreeId: string; path: string; pathSplit: number[]; displayOrder: number; parentInternalId?: number; dataId: string; intDataId: number; pathAsParent: string; siteInternalId: number; siteId: string; siteName: string; templateKey: string; pagetreeType: PagetreeType; orphaned: boolean; published: boolean; resolvedPath: string; resolvedPathWithoutSitename: string; latestVersion: number; publishedVersion?: number; existingTemplateKeys?: Set; constructor(row: any); } export declare class PageFilter { internalIds?: number[]; internalIdPaths?: string[]; internalIdPathsRecursive?: string[]; noresults?: boolean; lastIndexedBefore?: DateTime; ids?: string[]; linkIds?: string[]; links?: PageLinkInput[]; pagetreeIds?: string[]; siteIds?: string[]; templateKeys?: string[]; pageReferenced?: string; hostsReferenced?: string[]; assetReferenced?: string; assetReferencedDirect?: boolean; pagetreeTypes?: PagetreeType[]; paths?: string[]; beneath?: string[]; parentPaths?: string[]; launchedUrls?: string[]; published?: boolean; unpublished?: boolean; live?: boolean; launchStates?: LaunchState[]; deleteStates?: DeleteStateInput[]; maxDepth?: number; legacyIds?: string[]; viewForEdit?: boolean; tagsAny?: string[]; tagsAll?: string[]; userTagsAny?: string[]; userTagsAll?: string[]; userTags?: string[][]; modifiedBefore?: DateTime; modifiedAfter?: DateTime; publishActivityBefore?: DateTime; publishActivityAfter?: DateTime; search?: string; phraseSearch?: PhraseSearchInput[]; } export declare class PhraseSearchInput { published?: boolean; query: string; substring?: boolean; } export declare class PageResponse extends ValidatedResponse { page?: Page; constructor(config?: ValidatedResponseArgs & { page?: Page; }); } export declare class PagesResponse extends ValidatedResponse { pages: Page[]; constructor(config?: ValidatedResponseArgs & { pages?: Page[]; }); } export declare class PagePermissions { } export declare enum PagePermission { VIEWLATEST = "viewlatest", UPDATE = "update", MOVE = "move", CREATE = "create", PUBLISH = "publish", UNPUBLISH = "unpublish", DELETE = "delete", UNDELETE = "undelete" } export declare class LinkInputContext { pagetreeId: string; } export declare class PageLinkInput { siteId: string; linkId: string; path: string; context?: LinkInputContext; } export declare enum DeletedFilter { SHOW = "show",// show all ONLY = "only",// show only deleted HIDE = "hide" }