/** * iOS asset utilities for creating colorsets, imagesets, etc. */ /** * Color components for iOS colorset. */ interface ColorComponents { red: string; green: string; blue: string; alpha: string; } /** * Normalize a color string to RGBA components for iOS. * * `@react-native/normalize-colors` returns an unsigned 0xRRGGBBAA int. * (Older docs said 0xAARRGGBB — that layout produced transparent TextPrimary / * AccentColor and blank WidgetKit tiles on iOS 17+.) */ export declare function normalizeColorToComponents(color: string): ColorComponents; /** * Create a colorset in Assets.xcassets. */ export declare function createColorset({ colorsetPath, color, darkColor, }: { colorsetPath: string; color: string; darkColor?: string; }): void; /** * Create an imageset in Assets.xcassets. * * Pass `files` for named scale slots. `imageFilename` still fills only the 1x * slot (empty 2x/3x placeholders) for callers that do not copy pixels yet. */ export declare function createImageset({ imagesetPath, imageFilename, files, template, preservesVector, }: { imagesetPath: string; imageFilename?: string; files?: { scale: '1x' | '2x' | '3x'; filename: string; }[]; template?: boolean; preservesVector?: boolean; }): void; /** * Create the root Contents.json for Assets.xcassets. */ export declare function createAssetsXcassetsRoot(assetsPath: string): void; /** * Create an individual sticker in a sticker pack. */ export declare function createSticker({ stickerPath, filename, }: { stickerPath: string; filename: string; }): void; /** * Create a sticker pack in Assets.xcassets. */ export declare function createStickerPack({ stickerPackPath, name, assets, }: { stickerPackPath: string; name: string; assets: string[]; }): void; /** * Create iMessage App Icon set in Assets.xcassets. * Generates all 13 required icon sizes with proper cropping to maintain aspect ratio. */ export declare function createIMessageAppIcon({ iconsetPath, sourceIconPath, }: { iconsetPath: string; sourceIconPath?: string; }): void; export {}; //# sourceMappingURL=asset.d.ts.map