import type { FlagBootstrap } from "./types/index.js"; /** * Resolves a feature gate from its LaunchDarkly flag value OR a process-env * escape hatch (used by cloud-prem/local, where LD is unavailable). Centralizes * the `flag ?? false || env === "true"` shape so each gate names its * flag-getter/env-name pairing in exactly one place at the call site. */ export declare const flagOrEnv: (flagValue: boolean | undefined, envName: string) => boolean; export declare const signingEnabled: (flags: FlagBootstrap) => boolean; export declare class FeatureFlags { private flags; constructor(flags: FlagBootstrap); signingEnabled(): boolean; splitLargeApiStepsEnabled(): boolean; linesForLargeSteps(): number; enableSessionRecording(): boolean; devServerCloudInactivityTimeoutMinutes(): number; devServerLocalInactivityTimeoutMinutes(): number; devServerLlmobsEnabled(): boolean; includeDotSuperblocks(): boolean; devServerMemoryMetricsEnabled(): boolean; /** * Gates the unified version history work. While off, autosave keeps its * original fixed-window cadence so dev servers behave exactly as before. */ removeManualCommitsEnabled(): boolean; /** * Gates the in-place dev-server process restart after a v2->v3 template * flip. When enabled (and a restart supervisor is present), the * dev server self-restarts its own process so the pod stays alive instead of * being terminated and replaced. Flag off restores today's pod-swap behavior. */ inPlaceTemplateRestartEnabled(): boolean; /** * Gates installing app dependencies with pnpm. While off every app keeps * npm and nothing converts an npm app to pnpm. */ pnpmEnabled(): boolean; } //# sourceMappingURL=flag.d.ts.map