import { type ImageSourcePropType } from 'react-native'; import type { PaletteOptions, PaletteTarget, PaletteResult, PaletteSwatch } from './types'; export declare function getCacheKey(source: ImageSourcePropType, options: PaletteOptions & { target?: PaletteTarget; }): string; export declare const paletteCache: Map; export declare const swatchCache: Map; /** * Create a color palette from an image source using Android's Palette API. * * @param source - The image source to extract colors from. * @param options - Options for palette generation. * @returns A promise that resolves to the palette result. */ export declare function createPalette(source: ImageSourcePropType, options?: PaletteOptions): Promise; /** * Create a color palette swatch from an image source using a custom target. * * @param source - The image source to extract colors from. * @param target - Custom target for color matching. * @param options - Options for palette generation. * @returns A promise that resolves to the extracted palette swatch. */ export declare function createPaletteForTarget(source: ImageSourcePropType, target: PaletteTarget, options?: PaletteOptions): Promise; //# sourceMappingURL=createPalette.d.ts.map