import { Ansis } from 'ansis'; declare const ansis: Ansis; /** * Color constants for Heroku CLI output * Most colors use ANSI256 codes for better compatibility with terminals that don't support TrueColor. * Magenta, red, and cyan are kept as hex values for precise color matching. */ declare const COLORS: { readonly BLUE: 117; readonly CODE_BG: 237; readonly CODE_FG: 255; readonly CYAN: "#50D3D5"; readonly CYAN_LIGHT: "#8FF5F7"; readonly GOLD: 220; readonly GRAY: 248; readonly GREEN: 40; readonly MAGENTA: "#FF22DD"; readonly ORANGE: 214; readonly PINK: 212; readonly PURPLE: 147; readonly RED: "#FF8787"; readonly TEAL: 43; readonly YELLOW: 185; }; /** Theme name: 'heroku' (default) or 'simple' (ANSI 8 only). Set via HEROKU_THEME env. */ export type ThemeName = 'heroku' | 'simple'; /** * Resolves active theme from HEROKU_THEME; defaults to 'heroku'. * @returns The active theme name. */ export declare function getTheme(): ThemeName; export declare const app: (text: string) => string; export declare const pipeline: (text: string) => string; export declare const space: (text: string) => string; export declare const datastore: (text: string) => string; export declare const addon: (text: string) => string; export declare const attachment: (text: string) => string; export declare const name: (text: string) => string; export declare const success: (text: string) => string; export declare const enabled: (text: string) => string; export declare const failure: (text: string) => string; export declare const error: (text: string) => string; export declare const warning: (text: string) => string; export declare const team: (text: string) => string; export declare const user: (text: string) => string; export declare const label: (text: string) => string; export declare const info: (text: string) => string; export declare const inactive: (text: string) => string; export declare const disabled: (text: string) => string; export declare const command: (text: string) => string; export declare const code: (text: string) => string; export declare const snippet: (text: string) => string; export declare const blue: (text: string) => string; export declare const bold: (text: string) => string; export declare const cyan: (text: string) => string; export declare const gold: (text: string) => string; export declare const gray: (text: string) => string; export declare const green: (text: string) => string; export declare const magenta: (text: string) => string; export declare const orange: (text: string) => string; export declare const pink: (text: string) => string; export declare const purple: (text: string) => string; export declare const red: (text: string) => string; export declare const teal: (text: string) => string; export declare const yellow: (text: string) => string; /** * Color palette for reference * Shows ANSI256 codes for most colors, hex values for magenta, red, and cyan */ export declare const colorPalette: { readonly addon: { readonly name: "yellow"; readonly style: "normal"; readonly value: 185; }; readonly app: { readonly name: "purple"; readonly style: "normal"; readonly value: 147; }; readonly attachment: { readonly name: "yellow"; readonly style: "normal"; readonly value: 185; }; readonly code: { readonly name: "white on dark gray"; readonly style: "bold"; readonly value: 255; }; readonly command: { readonly name: "white on dark gray"; readonly style: "bold"; readonly value: 255; }; readonly datastore: { readonly name: "yellow"; readonly style: "normal"; readonly value: 185; }; readonly failure: { readonly name: "red"; readonly style: "normal"; readonly value: "#FF8787"; }; readonly gold: { readonly name: "gold"; readonly style: "normal"; readonly value: 220; }; readonly inactive: { readonly name: "gray"; readonly style: "normal"; readonly value: 248; }; readonly info: { readonly name: "teal"; readonly style: "normal"; readonly value: 43; }; readonly label: { readonly name: "bright white/black"; readonly style: "bold"; readonly value: "default"; }; readonly name: { readonly name: "magenta"; readonly style: "normal"; readonly value: "#FF22DD"; }; readonly pipeline: { readonly name: "purple"; readonly style: "normal"; readonly value: 147; }; readonly snippet: { readonly name: "white on dark gray"; readonly style: "normal"; readonly value: 255; }; readonly space: { readonly name: "blue"; readonly style: "normal"; readonly value: 117; }; readonly success: { readonly name: "green"; readonly style: "normal"; readonly value: 40; }; readonly team: { readonly name: "light cyan"; readonly style: "normal"; readonly value: "#8FF5F7"; }; readonly user: { readonly name: "cyan"; readonly style: "normal"; readonly value: "#50D3D5"; }; readonly warning: { readonly name: "orange"; readonly style: "normal"; readonly value: 214; }; }; /** * Export color constants for external use */ export { COLORS }; /** * Re-export the configured ansis instance with custom TTY detection * Use color.ansis.bold(), color.ansis.red(), etc. for direct ansis styling * These methods respect the custom shouldEnableColors() logic */ export { ansis };