import React from "react";
export interface PaletteConfig {
    apiKey?: string;
    maxColors?: number;
    defaultFormat?: "hex" | "rgb" | "hsl";
    defaultHarmony?: "analogous" | "complementary" | "triadic" | "tetradic" | "monochromatic";
    cacheEnabled?: boolean;
    cacheDuration?: number;
    errorHandler?: (error: Error) => void;
    onGenerate?: (palette: any) => void;
}
interface PaletteContextType {
    config: PaletteConfig;
}
declare const PaletteContext: React.Context<PaletteContextType>;
export interface PaletteProviderProps {
    config?: PaletteConfig;
    children: React.ReactNode;
}
export declare const PaletteProvider: React.FC<PaletteProviderProps>;
export declare const usePaletteConfig: () => PaletteConfig;
export default PaletteContext;
