/** * Color profile implementation for termenv. * Port of github.com/muesli/termenv profile.go to TypeScript. */ import { Style } from './style.js'; import { type Color, Profile } from './types.js'; /** * Profile utility functions - matches Go profile.go interface */ export declare const ProfileUtils: { /** * Get the profile name as a string */ getName(profile: Profile): string; /** * Create a new Style with the given profile and strings */ string(profile: Profile, ...strings: string[]): Style; /** * Convert transforms a given Color to a Color supported within the Profile */ convert(profile: Profile, color: Color): Color; /** * Create a Color from a string. Valid inputs are hex colors and ANSI color codes (0-255). */ color(profile: Profile, s: string): Color | null; /** * Create a Color from a standard Color interface (mimics Go color.Color) */ fromColor(profile: Profile, c: { r: number; g: number; b: number; }): Color; }; //# sourceMappingURL=profile.d.ts.map