/**
 * The browser viewer (`codegraph ui`, alias `web`) ships in the package but is
 * not part of a release yet: it has been exercised on Expo apps, not on API,
 * Laravel, Spring, Angular or Swift projects. Until it launches, both spellings
 * are refused before any startup work unless `CODEGRAPH_UI=1` is set, which
 * keeps it usable for the people testing it. Dependency-free on purpose: the
 * entry point checks this before loading anything else.
 */
/** Setting this to `1` enables the viewer commands. */
export declare const VIEWER_ENV = "CODEGRAPH_UI";
export declare function viewerEnabled(env?: NodeJS.ProcessEnv): boolean;
/**
 * The viewer command these arguments ask for (`ui` or `web`), whether run
 * directly or through `help`, or null when they ask for something else.
 */
export declare function requestedViewerCommand(args: readonly string[]): string | null;
//# sourceMappingURL=viewer-gate.d.ts.map