import type { AppMenuCategory } from "./types.js"; export type DeveloperCategoryOptions = { /** Article the "Edit article"/"Edit app" links point at. Defaults to `af.article.id`. */ articleId?: string; /** CMS host name used by the app designer links. Defaults to `af.article.hostName`. */ hostName?: string; /** App designer host. */ devUrl?: string; /** Content editor host. */ testUrl?: string; /** * Include the cache clearing buttons. They post to `/api/debug/cache/...`, * which requires two verified authentication factors. */ includeCacheTools?: boolean; }; /** * Build the Articles/Developer/Debug categories that used to live in the * sidebar's developer disclosure menu. * * Only render these for users where `af.userSession.isDeveloper` is true — the * targets are all developer-only and will return 403 for everyone else. */ export declare function createDeveloperCategories({ articleId, hostName, devUrl, testUrl, includeCacheTools, }?: DeveloperCategoryOptions): AppMenuCategory[];