import { AppFile } from '../types/app'; /** * Checks if the app provides the UI itself (is the slotty-ui app) */ export declare const isTheUiItself: (app: AppFile) => boolean; /** * Checks if the app is a postcall app */ export declare const isPostcallApp: (app: AppFile) => boolean; /** * Checks if the app replaces the file-viewer module */ export declare const isFileViewerReplacement: (app: AppFile) => boolean; /** * Checks if the app has no module, hooks, or app_type defined (legacy app) */ export declare const doesNotHaveAnyModuleOrHookSpecified: (app: AppFile) => boolean; /** * Checks if the app has an app_type defined */ export declare const hasAppTypeDefined: (app: AppFile) => boolean; /** * Checks if the app is a canvas section execution app */ export declare const isCanvasSectionExecution: (app: AppFile) => boolean; /** * Checks if the app is a canvas drawer app */ export declare const isCanvasDrawerApp: (app: AppFile) => boolean; /** * Checks if the app requires CRM connection */ export declare const appRequiresCrm: (app: AppFile) => boolean; /** * Determines if an app should be shown in the slotty-ui sidebar. * An app shows in sidebar if: * - It has `module.ui_app.enabled = true`, OR * - It's a legacy app (no module, hooks, or app_type defined) AND * it's not a postcall app, file-viewer replacement, canvas drawer, * canvas section execution, or has app_type defined */ export declare const shouldShowInSidebar: (app: AppFile) => boolean; /** * Filters an array of AppFiles to only include those that should show in sidebar */ export declare const filterSidebarApps: (apps: AppFile[]) => AppFile[];