import type { ThemeState } from '@atlaskit/tokens/theme-state'; export declare enum userType { ATLASSIAN_ACCOUNT = "atlassianAccount", HASHED_EMAIL = "hashedEmail", LOOM = "loom", TRELLO = "trello", OPSGENIE = "opsgenie", JA_USER_ID = "jiraAlign", HALP = "halp" } export type PageAllowedFeatures = { edit: string[]; view: string[]; }; export declare enum EMBEDDED_CONFLUENCE_MODE { VIEW_MODE = "view", EDIT_MODE = "edit" } export declare enum CONFLUENCE_EXTENSION_KEYS { PAGE = "integration-confluence-object-provider", CANVAS = "canvas-native-object-provider" } export declare const useConfluencePageData: (url: string, extensionKey: string) => { hostname: string; spaceKey: string; contentId: string; parentProduct: string; userInfo: { userId: string; userIdType: userType; } | undefined; hash: string; enableInlineComments: boolean; enablePageComments: boolean; themeStateObject: Partial | undefined; allowedFeatures: { edit: string[]; view: string[]; }; mode: EMBEDDED_CONFLUENCE_MODE; locale: string; } | undefined;