import * as kleur from 'kleur';

/**
 * Utility function to flatten a color palette object.
 * Similar to what Tailwind uses internally for its theme resolution.
 */
declare function flattenColorPalette(palette?: Record<string, any>): Record<string, string>;

/**
 * BismillahCSS Shared Utilities
 * Optimized for low overhead and maximal design intelligence.
 */
declare const bUtils: {
    flattenColorPalette: typeof flattenColorPalette;
    cliColors: {
        primary: kleur.Color;
        secondary: kleur.Color;
        accent: kleur.Color;
        success: kleur.Color;
        warning: kleur.Color;
        danger: kleur.Color;
        info: kleur.Color;
        muted: kleur.Color;
        dark: kleur.Color;
        light: kleur.Color;
    };
    /**
     * Generates a unique component ID for runtime tracking.
     */
    generateID: (prefix?: string) => string;
    /**
     * Helper to merge styles with framework defaults.
     */
    mergeStyles: (base: string, override: string) => string;
};

export { bUtils, bUtils as default, flattenColorPalette };
