/** * Hook to access editor variable checks at runtime. * Currently supports the following checks: * is_in_hs_app - Returns true if content is being rendered within the HubSpot app. * is_in_editor - Returns true if content is being rendered within any content editor. * is_in_global_content_editor - Returns true if content is being rendered within the global content editor. * is_in_theme_editor - Returns true if content is being rendered within the theme editor. * is_in_page_editor - Returns true if content is being rendered within the page editor. * is_in_blog_post_editor - Returns true if content is being rendered within the blog post editor. * is_in_email_editor - Returns true if content is being rendered within the email editor. * is_in_previewer - Returns true if content is being rendered within any preview context. * is_in_theme_previewer - Returns true if content is being rendered within the theme previewer. * is_in_template_previewer - Returns true if content is being rendered within the template previewer. * is_in_page_previewer - Returns true if content is being rendered within the page previewer. * is_in_blog_post_previewer - Returns true if content is being rendered within the blog post previewer. * is_in_email_previewer - Returns true if content is being rendered within the email previewer. * is_in_module_previewer - Returns true if content is being rendered within the module previewer. * * @returns Record mapping editor variable names to their values * @example * const editorChecks = useEditorVariableChecks(); * if (editorChecks.is_in_editor) { * // Show editor-only UI * } */ export declare function useEditorVariableChecks(): Record;