import { SegmentTheme } from '../types';
/**
 * Convert hex color to ANSI background code
 */
export declare function hex_to_ansi_bg(hex: string): string;
/**
 * Convert hex color to ANSI foreground code
 */
export declare function hex_to_ansi_fg(hex: string): string;
/**
 * Convert hex color to ANSI escape code (legacy support)
 */
export declare function hex_to_ansi(hex_color: string, is_background?: boolean): string;
/**
 * Create segment theme from palette colors
 */
export declare function create_segment_theme(bg_color: string, fg_color: string): SegmentTheme;
//# sourceMappingURL=colors.d.ts.map