/** * Platform fan-out from a single 1024² RGBA master. * * Spec references (from docs/research/SYNTHESIS.md § Asset Generation Landscape * and skills/app-icon/SKILL.md): * - iOS: AppIcon.appiconset/Contents.json + sizes 20-1024; 1024 marketing variant OPAQUE. * - Android adaptive: 108dp foreground + background; 72dp safe zone; monochrome drawable. * - PWA: 192, 512, 512 maskable (80% safe zone). * - visionOS: 1024² master + placeholder 3-layer split + README explaining the hand-split workflow. * - Favicon: .ico (16/32/48 packed) + icon.svg + apple-touch-icon 180 opaque. */ export interface ExportAppIconInput { masterPng: Buffer; platforms: Array<"ios" | "android" | "pwa" | "visionos" | "flutter" | "all">; outDir: string; flattenColor?: string; palette?: string[]; /** Optional app name used in Flutter's flutter_launcher_icons.yaml scaffold. */ appName?: string; /** * When true, the iOS fan-out emits dark and tinted variants of the 1024 * marketing icon in addition to the default (light) variant, and adds * `appearances` entries to `Contents.json` for iOS 18's tintable icons. * The dark variant is flattened onto #000000; the tinted variant is a * luminance map that the system recolors per the user's accent. */ ios18Appearances?: boolean; /** * Optional caller-supplied dark master. When `ios18Appearances` is true * and this is omitted, the dark variant is derived by flattening the * master onto #000 — usually acceptable for logos on solid backgrounds. */ masterPngDark?: Buffer; } export interface ExportResult { files: Array<{ path: string; kind: string; bytes: number; }>; warnings: string[]; } export declare function exportAppIconBundle(input: ExportAppIconInput): Promise; /** * Favicon bundle: .ico (16/32/48) + icon.svg + apple-touch-icon 180 opaque + PWA 192/512/512-maskable. * sharp can't write .ico natively — we emit a 48.png and note that the caller should pack with * sharp-ico or icon-gen in a postprocess step. (Installing those adds install size; keeping core tiny.) */ export declare function exportFaviconBundle(input: { masterPng: Buffer; masterSvg?: string; masterSvgDark?: string; outDir: string; flattenColor?: string; appName?: string; themeColor?: string; backgroundColor?: string; }): Promise; //# sourceMappingURL=export.d.ts.map