import { i as ColorSupportLevel } from "./detect-Db6GbKOm.js"; import { t as ColorProfile } from "./color-profile-CyeHnG1T.js"; //#region src/capabilities/color-policy.d.ts /** A user-selected output policy. `auto` follows the target stream. */ type ColorPolicy = "auto" | ColorProfile; /** The three distinct inputs and result of terminal color negotiation. */ type ColorState = { /** The stream/terminal fact after environment and query detection. */ readonly detected: ColorProfile; /** The application's policy for this render instance. */ readonly policy: ColorPolicy; /** The profile the serializer must actually emit. */ readonly effective: ColorProfile; }; declare function resolveColorProfile(detectedLevel: ColorSupportLevel, policy?: ColorPolicy): ColorProfile; declare function colorState(capabilities: { readonly color: { readonly level: ColorSupportLevel; }; }, policy?: ColorPolicy): ColorState; //#endregion export { resolveColorProfile as i, ColorState as n, colorState as r, ColorPolicy as t };