pixelkiln 0.63.0 → 0.65.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -148,6 +148,16 @@ interface SubmitContext {
148
148
  parentObjectId?: string;
149
149
  /** Provider-side id of the character a pro base anchors its style on, when the spec names one. */
150
150
  styleObjectId?: string;
151
+ /**
152
+ * The parent's own downloaded output files, in lock order, for a spec
153
+ * whose provider work reads bytes rather than a remote id (an outfit
154
+ * re-clothing a loop's frames). The pipeline proved the parent current
155
+ * before calling.
156
+ */
157
+ parentOutputs?: {
158
+ path: string;
159
+ role?: string;
160
+ }[];
151
161
  /**
152
162
  * Provider-owned details of the generation this submission replaces, when
153
163
  * the lockfile had one for the same asset, whatever its state. An adapter
@@ -363,6 +373,12 @@ interface Provider {
363
373
  listCharacters?(): AsyncGenerator<RemoteCharacter>;
364
374
  /** One character with its rotations and animations. */
365
375
  getCharacter?(id: string): Promise<RemoteCharacterDetail>;
376
+ /**
377
+ * Irreversible: the character and its animations. A state is its own
378
+ * character record and is deleted on its own. Only reached via `purge`,
379
+ * behind explicit confirmation.
380
+ */
381
+ deleteCharacter?(id: string): Promise<void>;
366
382
  /**
367
383
  * The object's source URLs as the service hands them out now, for
368
384
  * `fetch --refresh` when recorded URLs go stale (PixelLab stamps a
@@ -829,6 +845,40 @@ declare const CharacterStateSchema: z.ZodObject<{
829
845
  } | undefined;
830
846
  }>;
831
847
  type CharacterState = z.infer<typeof CharacterStateSchema>;
848
+ /** PixelLab's fixed `portrait-character-pro` result sizes; 128 and 160 render at 2K and cost more. */
849
+ declare const CharacterPortraitSizeSchema: z.ZodUnion<[z.ZodLiteral<16>, z.ZodLiteral<32>, z.ZodLiteral<48>, z.ZodLiteral<64>, z.ZodLiteral<128>, z.ZodLiteral<160>]>;
850
+ type CharacterPortraitSize = z.infer<typeof CharacterPortraitSizeSchema>;
851
+ /** A bust portrait of an existing base or state's south sprite. */
852
+ declare const CharacterPortraitSchema: z.ZodObject<{
853
+ /** The base or state to portray, in the same style. */
854
+ of: z.ZodString;
855
+ size: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<16>, z.ZodLiteral<32>, z.ZodLiteral<48>, z.ZodLiteral<64>, z.ZodLiteral<128>, z.ZodLiteral<160>]>>;
856
+ }, "strict", z.ZodTypeAny, {
857
+ of: string;
858
+ size: 16 | 128 | 64 | 32 | 48 | 160;
859
+ }, {
860
+ of: string;
861
+ size?: 16 | 128 | 64 | 32 | 48 | 160 | undefined;
862
+ }>;
863
+ type CharacterPortrait = z.infer<typeof CharacterPortraitSchema>;
864
+ /** Applies a reference outfit to an existing loop's frames (PixelLab's `transfer-outfit-v2`). */
865
+ declare const CharacterOutfitSchema: z.ZodObject<{
866
+ /** The loop (a character animation asset) to re-clothe, in the same style. */
867
+ of: z.ZodString;
868
+ /** Manifest-relative image of the outfit to transfer. */
869
+ reference: z.ZodString;
870
+ /** Extra guidance PixelLab passes through as written, e.g. view/direction hints. */
871
+ additionalInstructions: z.ZodOptional<z.ZodString>;
872
+ }, "strict", z.ZodTypeAny, {
873
+ of: string;
874
+ reference: string;
875
+ additionalInstructions?: string | undefined;
876
+ }, {
877
+ of: string;
878
+ reference: string;
879
+ additionalInstructions?: string | undefined;
880
+ }>;
881
+ type CharacterOutfit = z.infer<typeof CharacterOutfitSchema>;
832
882
  /** A loop of one character in one direction. One asset per direction. */
833
883
  declare const CharacterAnimationSchema$1: z.ZodEffects<z.ZodObject<{
834
884
  /** The character to animate: a base or a state in the same style. */
@@ -957,7 +1007,7 @@ interface ResolvedStyleAnchor {
957
1007
  }
958
1008
  /** How a resolved spec describes its place in a character family. */
959
1009
  interface ResolvedCharacter {
960
- kind: "base" | "state" | "animation";
1010
+ kind: "base" | "state" | "animation" | "portrait" | "outfit";
961
1011
  /** Creation engine for a base; states inherit the parent's. */
962
1012
  mode: CharacterMode;
963
1013
  /** Rotations a base or state has. */
@@ -998,6 +1048,14 @@ interface ResolvedCharacter {
998
1048
  height: number;
999
1049
  };
1000
1050
  };
1051
+ portrait?: {
1052
+ size: CharacterPortraitSize;
1053
+ };
1054
+ /** For an outfit: the reference image to transfer, and any extra guidance. */
1055
+ outfit?: {
1056
+ reference: ResolvedReferenceImage;
1057
+ additionalInstructions?: string;
1058
+ };
1001
1059
  animation?: {
1002
1060
  mode: CharacterAnimationMode;
1003
1061
  template?: string;
@@ -1598,13 +1656,13 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1598
1656
  providerOptions: Record<string, Record<string, unknown>>;
1599
1657
  provider?: string | undefined;
1600
1658
  template?: string | undefined;
1659
+ size?: number | undefined;
1601
1660
  directions?: 4 | 8 | undefined;
1602
1661
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
1603
1662
  outline?: string | undefined;
1604
1663
  shading?: string | undefined;
1605
1664
  detail?: string | undefined;
1606
1665
  enhancePrompt?: boolean | undefined;
1607
- size?: number | undefined;
1608
1666
  view?: string | undefined;
1609
1667
  tileSize?: number | undefined;
1610
1668
  tileHeight?: number | undefined;
@@ -1671,6 +1729,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1671
1729
  provider?: string | undefined;
1672
1730
  palette?: string[] | undefined;
1673
1731
  template?: string | undefined;
1732
+ size?: number | undefined;
1674
1733
  directions?: 4 | 8 | undefined;
1675
1734
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
1676
1735
  outline?: string | undefined;
@@ -1678,7 +1737,6 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1678
1737
  detail?: string | undefined;
1679
1738
  enhancePrompt?: boolean | undefined;
1680
1739
  generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
1681
- size?: number | undefined;
1682
1740
  view?: string | undefined;
1683
1741
  promptSuffix?: string | undefined;
1684
1742
  promptPrefix?: string | undefined;
@@ -1764,13 +1822,13 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1764
1822
  providerOptions: Record<string, Record<string, unknown>>;
1765
1823
  provider?: string | undefined;
1766
1824
  template?: string | undefined;
1825
+ size?: number | undefined;
1767
1826
  directions?: 4 | 8 | undefined;
1768
1827
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
1769
1828
  outline?: string | undefined;
1770
1829
  shading?: string | undefined;
1771
1830
  detail?: string | undefined;
1772
1831
  enhancePrompt?: boolean | undefined;
1773
- size?: number | undefined;
1774
1832
  view?: string | undefined;
1775
1833
  tileSize?: number | undefined;
1776
1834
  tileHeight?: number | undefined;
@@ -1837,6 +1895,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1837
1895
  provider?: string | undefined;
1838
1896
  palette?: string[] | undefined;
1839
1897
  template?: string | undefined;
1898
+ size?: number | undefined;
1840
1899
  directions?: 4 | 8 | undefined;
1841
1900
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
1842
1901
  outline?: string | undefined;
@@ -1844,7 +1903,6 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1844
1903
  detail?: string | undefined;
1845
1904
  enhancePrompt?: boolean | undefined;
1846
1905
  generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
1847
- size?: number | undefined;
1848
1906
  view?: string | undefined;
1849
1907
  promptSuffix?: string | undefined;
1850
1908
  promptPrefix?: string | undefined;
@@ -1930,13 +1988,13 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1930
1988
  providerOptions: Record<string, Record<string, unknown>>;
1931
1989
  provider?: string | undefined;
1932
1990
  template?: string | undefined;
1991
+ size?: number | undefined;
1933
1992
  directions?: 4 | 8 | undefined;
1934
1993
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
1935
1994
  outline?: string | undefined;
1936
1995
  shading?: string | undefined;
1937
1996
  detail?: string | undefined;
1938
1997
  enhancePrompt?: boolean | undefined;
1939
- size?: number | undefined;
1940
1998
  view?: string | undefined;
1941
1999
  tileSize?: number | undefined;
1942
2000
  tileHeight?: number | undefined;
@@ -2003,6 +2061,7 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2003
2061
  provider?: string | undefined;
2004
2062
  palette?: string[] | undefined;
2005
2063
  template?: string | undefined;
2064
+ size?: number | undefined;
2006
2065
  directions?: 4 | 8 | undefined;
2007
2066
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
2008
2067
  outline?: string | undefined;
@@ -2010,7 +2069,6 @@ declare const StyleSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
2010
2069
  detail?: string | undefined;
2011
2070
  enhancePrompt?: boolean | undefined;
2012
2071
  generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
2013
- size?: number | undefined;
2014
2072
  view?: string | undefined;
2015
2073
  promptSuffix?: string | undefined;
2016
2074
  promptPrefix?: string | undefined;
@@ -2237,6 +2295,7 @@ declare const InheritedStyleSchema: z.ZodObject<{
2237
2295
  provider?: string | undefined;
2238
2296
  palette?: string[] | undefined;
2239
2297
  template?: string | undefined;
2298
+ size?: number | undefined;
2240
2299
  directions?: 4 | 8 | undefined;
2241
2300
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
2242
2301
  outline?: string | undefined;
@@ -2244,7 +2303,6 @@ declare const InheritedStyleSchema: z.ZodObject<{
2244
2303
  detail?: string | undefined;
2245
2304
  enhancePrompt?: boolean | undefined;
2246
2305
  generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
2247
- size?: number | undefined;
2248
2306
  view?: string | undefined;
2249
2307
  promptSuffix?: string | undefined;
2250
2308
  promptPrefix?: string | undefined;
@@ -2321,6 +2379,7 @@ declare const InheritedStyleSchema: z.ZodObject<{
2321
2379
  provider?: string | undefined;
2322
2380
  palette?: string[] | undefined;
2323
2381
  template?: string | undefined;
2382
+ size?: number | undefined;
2324
2383
  directions?: 4 | 8 | undefined;
2325
2384
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
2326
2385
  outline?: string | undefined;
@@ -2328,7 +2387,6 @@ declare const InheritedStyleSchema: z.ZodObject<{
2328
2387
  detail?: string | undefined;
2329
2388
  enhancePrompt?: boolean | undefined;
2330
2389
  generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
2331
- size?: number | undefined;
2332
2390
  view?: string | undefined;
2333
2391
  promptSuffix?: string | undefined;
2334
2392
  promptPrefix?: string | undefined;
@@ -2786,13 +2844,13 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
2786
2844
  providerOptions: Record<string, Record<string, unknown>>;
2787
2845
  provider?: string | undefined;
2788
2846
  template?: string | undefined;
2847
+ size?: number | undefined;
2789
2848
  directions?: 4 | 8 | undefined;
2790
2849
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
2791
2850
  outline?: string | undefined;
2792
2851
  shading?: string | undefined;
2793
2852
  detail?: string | undefined;
2794
2853
  enhancePrompt?: boolean | undefined;
2795
- size?: number | undefined;
2796
2854
  view?: string | undefined;
2797
2855
  tileSize?: number | undefined;
2798
2856
  tileHeight?: number | undefined;
@@ -2859,6 +2917,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
2859
2917
  provider?: string | undefined;
2860
2918
  palette?: string[] | undefined;
2861
2919
  template?: string | undefined;
2920
+ size?: number | undefined;
2862
2921
  directions?: 4 | 8 | undefined;
2863
2922
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
2864
2923
  outline?: string | undefined;
@@ -2866,7 +2925,6 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
2866
2925
  detail?: string | undefined;
2867
2926
  enhancePrompt?: boolean | undefined;
2868
2927
  generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
2869
- size?: number | undefined;
2870
2928
  view?: string | undefined;
2871
2929
  promptSuffix?: string | undefined;
2872
2930
  promptPrefix?: string | undefined;
@@ -2952,13 +3010,13 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
2952
3010
  providerOptions: Record<string, Record<string, unknown>>;
2953
3011
  provider?: string | undefined;
2954
3012
  template?: string | undefined;
3013
+ size?: number | undefined;
2955
3014
  directions?: 4 | 8 | undefined;
2956
3015
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
2957
3016
  outline?: string | undefined;
2958
3017
  shading?: string | undefined;
2959
3018
  detail?: string | undefined;
2960
3019
  enhancePrompt?: boolean | undefined;
2961
- size?: number | undefined;
2962
3020
  view?: string | undefined;
2963
3021
  tileSize?: number | undefined;
2964
3022
  tileHeight?: number | undefined;
@@ -3025,6 +3083,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
3025
3083
  provider?: string | undefined;
3026
3084
  palette?: string[] | undefined;
3027
3085
  template?: string | undefined;
3086
+ size?: number | undefined;
3028
3087
  directions?: 4 | 8 | undefined;
3029
3088
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
3030
3089
  outline?: string | undefined;
@@ -3032,7 +3091,6 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
3032
3091
  detail?: string | undefined;
3033
3092
  enhancePrompt?: boolean | undefined;
3034
3093
  generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
3035
- size?: number | undefined;
3036
3094
  view?: string | undefined;
3037
3095
  promptSuffix?: string | undefined;
3038
3096
  promptPrefix?: string | undefined;
@@ -3118,13 +3176,13 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
3118
3176
  providerOptions: Record<string, Record<string, unknown>>;
3119
3177
  provider?: string | undefined;
3120
3178
  template?: string | undefined;
3179
+ size?: number | undefined;
3121
3180
  directions?: 4 | 8 | undefined;
3122
3181
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
3123
3182
  outline?: string | undefined;
3124
3183
  shading?: string | undefined;
3125
3184
  detail?: string | undefined;
3126
3185
  enhancePrompt?: boolean | undefined;
3127
- size?: number | undefined;
3128
3186
  view?: string | undefined;
3129
3187
  tileSize?: number | undefined;
3130
3188
  tileHeight?: number | undefined;
@@ -3191,6 +3249,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
3191
3249
  provider?: string | undefined;
3192
3250
  palette?: string[] | undefined;
3193
3251
  template?: string | undefined;
3252
+ size?: number | undefined;
3194
3253
  directions?: 4 | 8 | undefined;
3195
3254
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
3196
3255
  outline?: string | undefined;
@@ -3198,7 +3257,6 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
3198
3257
  detail?: string | undefined;
3199
3258
  enhancePrompt?: boolean | undefined;
3200
3259
  generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
3201
- size?: number | undefined;
3202
3260
  view?: string | undefined;
3203
3261
  promptSuffix?: string | undefined;
3204
3262
  promptPrefix?: string | undefined;
@@ -3420,6 +3478,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
3420
3478
  provider?: string | undefined;
3421
3479
  palette?: string[] | undefined;
3422
3480
  template?: string | undefined;
3481
+ size?: number | undefined;
3423
3482
  directions?: 4 | 8 | undefined;
3424
3483
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
3425
3484
  outline?: string | undefined;
@@ -3427,7 +3486,6 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
3427
3486
  detail?: string | undefined;
3428
3487
  enhancePrompt?: boolean | undefined;
3429
3488
  generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
3430
- size?: number | undefined;
3431
3489
  view?: string | undefined;
3432
3490
  promptSuffix?: string | undefined;
3433
3491
  promptPrefix?: string | undefined;
@@ -3504,6 +3562,7 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
3504
3562
  provider?: string | undefined;
3505
3563
  palette?: string[] | undefined;
3506
3564
  template?: string | undefined;
3565
+ size?: number | undefined;
3507
3566
  directions?: 4 | 8 | undefined;
3508
3567
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
3509
3568
  outline?: string | undefined;
@@ -3511,7 +3570,6 @@ declare const StyleInputSchema: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodObjec
3511
3570
  detail?: string | undefined;
3512
3571
  enhancePrompt?: boolean | undefined;
3513
3572
  generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
3514
- size?: number | undefined;
3515
3573
  view?: string | undefined;
3516
3574
  promptSuffix?: string | undefined;
3517
3575
  promptPrefix?: string | undefined;
@@ -3981,6 +4039,35 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
3981
4039
  }>]>, "many">>;
3982
4040
  /** `uiAsset` styles: named, auto-positioned UI element scaffolds. Combine with `pieces`; omit both for a default full-canvas panel. */
3983
4041
  elements: z.ZodOptional<z.ZodArray<z.ZodEnum<["button", "icon_button", "toolbar", "tab", "panel", "window", "health_bar", "avatar", "triangle", "pentagon", "hexagon", "octagon"]>, "many">>;
4042
+ /** `character` styles: this asset is a bust portrait of another character asset's south sprite. */
4043
+ portrait: z.ZodOptional<z.ZodObject<{
4044
+ /** The base or state to portray, in the same style. */
4045
+ of: z.ZodString;
4046
+ size: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<16>, z.ZodLiteral<32>, z.ZodLiteral<48>, z.ZodLiteral<64>, z.ZodLiteral<128>, z.ZodLiteral<160>]>>;
4047
+ }, "strict", z.ZodTypeAny, {
4048
+ of: string;
4049
+ size: 16 | 128 | 64 | 32 | 48 | 160;
4050
+ }, {
4051
+ of: string;
4052
+ size?: 16 | 128 | 64 | 32 | 48 | 160 | undefined;
4053
+ }>>;
4054
+ /** `character` styles: this asset re-clothes an existing loop's frames with a reference outfit. */
4055
+ outfit: z.ZodOptional<z.ZodObject<{
4056
+ /** The loop (a character animation asset) to re-clothe, in the same style. */
4057
+ of: z.ZodString;
4058
+ /** Manifest-relative image of the outfit to transfer. */
4059
+ reference: z.ZodString;
4060
+ /** Extra guidance PixelLab passes through as written, e.g. view/direction hints. */
4061
+ additionalInstructions: z.ZodOptional<z.ZodString>;
4062
+ }, "strict", z.ZodTypeAny, {
4063
+ of: string;
4064
+ reference: string;
4065
+ additionalInstructions?: string | undefined;
4066
+ }, {
4067
+ of: string;
4068
+ reference: string;
4069
+ additionalInstructions?: string | undefined;
4070
+ }>>;
3984
4071
  /** `character` styles, `standard` humanoid bases: this character's proportions, over the style's. */
3985
4072
  proportions: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["default", "chibi", "cartoon", "stylized", "realistic_male", "realistic_female", "heroic"]>, z.ZodObject<{
3986
4073
  headSize: z.ZodOptional<z.ZodNumber>;
@@ -4087,6 +4174,8 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
4087
4174
  detail?: string | undefined;
4088
4175
  enhancePrompt?: boolean | undefined;
4089
4176
  } | undefined;
4177
+ size?: number | undefined;
4178
+ reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
4090
4179
  state?: {
4091
4180
  of: string;
4092
4181
  paletteFromReference: boolean;
@@ -4095,7 +4184,15 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
4095
4184
  height: number;
4096
4185
  } | undefined;
4097
4186
  } | undefined;
4098
- size?: number | undefined;
4187
+ portrait?: {
4188
+ of: string;
4189
+ size: 16 | 128 | 64 | 32 | 48 | 160;
4190
+ } | undefined;
4191
+ outfit?: {
4192
+ of: string;
4193
+ reference: string;
4194
+ additionalInstructions?: string | undefined;
4195
+ } | undefined;
4099
4196
  proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
4100
4197
  headSize?: number | undefined;
4101
4198
  armsLength?: number | undefined;
@@ -4156,7 +4253,6 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
4156
4253
  phase?: number | undefined;
4157
4254
  })[] | undefined;
4158
4255
  elements?: ("button" | "icon_button" | "toolbar" | "tab" | "panel" | "window" | "health_bar" | "avatar" | "triangle" | "pentagon" | "hexagon" | "octagon")[] | undefined;
4159
- reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
4160
4256
  concept?: string | undefined;
4161
4257
  mirror?: string | undefined;
4162
4258
  outputRole?: string | undefined;
@@ -4180,6 +4276,8 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
4180
4276
  detail?: string | undefined;
4181
4277
  enhancePrompt?: boolean | undefined;
4182
4278
  } | undefined;
4279
+ size?: number | undefined;
4280
+ reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
4183
4281
  state?: {
4184
4282
  of: string;
4185
4283
  paletteFromReference?: boolean | undefined;
@@ -4188,7 +4286,15 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
4188
4286
  height: number;
4189
4287
  } | undefined;
4190
4288
  } | undefined;
4191
- size?: number | undefined;
4289
+ portrait?: {
4290
+ of: string;
4291
+ size?: 16 | 128 | 64 | 32 | 48 | 160 | undefined;
4292
+ } | undefined;
4293
+ outfit?: {
4294
+ of: string;
4295
+ reference: string;
4296
+ additionalInstructions?: string | undefined;
4297
+ } | undefined;
4192
4298
  proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
4193
4299
  headSize?: number | undefined;
4194
4300
  armsLength?: number | undefined;
@@ -4251,7 +4357,6 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
4251
4357
  phase?: number | undefined;
4252
4358
  })[] | undefined;
4253
4359
  elements?: ("button" | "icon_button" | "toolbar" | "tab" | "panel" | "window" | "health_bar" | "avatar" | "triangle" | "pentagon" | "hexagon" | "octagon")[] | undefined;
4254
- reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
4255
4360
  concept?: string | undefined;
4256
4361
  mirror?: string | undefined;
4257
4362
  outputRole?: string | undefined;
@@ -4283,6 +4388,8 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
4283
4388
  detail?: string | undefined;
4284
4389
  enhancePrompt?: boolean | undefined;
4285
4390
  } | undefined;
4391
+ size?: number | undefined;
4392
+ reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
4286
4393
  state?: {
4287
4394
  of: string;
4288
4395
  paletteFromReference: boolean;
@@ -4291,7 +4398,15 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
4291
4398
  height: number;
4292
4399
  } | undefined;
4293
4400
  } | undefined;
4294
- size?: number | undefined;
4401
+ portrait?: {
4402
+ of: string;
4403
+ size: 16 | 128 | 64 | 32 | 48 | 160;
4404
+ } | undefined;
4405
+ outfit?: {
4406
+ of: string;
4407
+ reference: string;
4408
+ additionalInstructions?: string | undefined;
4409
+ } | undefined;
4295
4410
  proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
4296
4411
  headSize?: number | undefined;
4297
4412
  armsLength?: number | undefined;
@@ -4352,7 +4467,6 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
4352
4467
  phase?: number | undefined;
4353
4468
  })[] | undefined;
4354
4469
  elements?: ("button" | "icon_button" | "toolbar" | "tab" | "panel" | "window" | "health_bar" | "avatar" | "triangle" | "pentagon" | "hexagon" | "octagon")[] | undefined;
4355
- reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
4356
4470
  concept?: string | undefined;
4357
4471
  mirror?: string | undefined;
4358
4472
  outputRole?: string | undefined;
@@ -4376,6 +4490,8 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
4376
4490
  detail?: string | undefined;
4377
4491
  enhancePrompt?: boolean | undefined;
4378
4492
  } | undefined;
4493
+ size?: number | undefined;
4494
+ reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
4379
4495
  state?: {
4380
4496
  of: string;
4381
4497
  paletteFromReference?: boolean | undefined;
@@ -4384,7 +4500,15 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
4384
4500
  height: number;
4385
4501
  } | undefined;
4386
4502
  } | undefined;
4387
- size?: number | undefined;
4503
+ portrait?: {
4504
+ of: string;
4505
+ size?: 16 | 128 | 64 | 32 | 48 | 160 | undefined;
4506
+ } | undefined;
4507
+ outfit?: {
4508
+ of: string;
4509
+ reference: string;
4510
+ additionalInstructions?: string | undefined;
4511
+ } | undefined;
4388
4512
  proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
4389
4513
  headSize?: number | undefined;
4390
4514
  armsLength?: number | undefined;
@@ -4447,7 +4571,6 @@ declare const AssetSchema: z.ZodEffects<z.ZodObject<{
4447
4571
  phase?: number | undefined;
4448
4572
  })[] | undefined;
4449
4573
  elements?: ("button" | "icon_button" | "toolbar" | "tab" | "panel" | "window" | "health_bar" | "avatar" | "triangle" | "pentagon" | "hexagon" | "octagon")[] | undefined;
4450
- reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
4451
4574
  concept?: string | undefined;
4452
4575
  mirror?: string | undefined;
4453
4576
  outputRole?: string | undefined;
@@ -4850,13 +4973,13 @@ declare const ManifestSchema: z.ZodObject<{
4850
4973
  providerOptions: Record<string, Record<string, unknown>>;
4851
4974
  provider?: string | undefined;
4852
4975
  template?: string | undefined;
4976
+ size?: number | undefined;
4853
4977
  directions?: 4 | 8 | undefined;
4854
4978
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
4855
4979
  outline?: string | undefined;
4856
4980
  shading?: string | undefined;
4857
4981
  detail?: string | undefined;
4858
4982
  enhancePrompt?: boolean | undefined;
4859
- size?: number | undefined;
4860
4983
  view?: string | undefined;
4861
4984
  tileSize?: number | undefined;
4862
4985
  tileHeight?: number | undefined;
@@ -4923,6 +5046,7 @@ declare const ManifestSchema: z.ZodObject<{
4923
5046
  provider?: string | undefined;
4924
5047
  palette?: string[] | undefined;
4925
5048
  template?: string | undefined;
5049
+ size?: number | undefined;
4926
5050
  directions?: 4 | 8 | undefined;
4927
5051
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
4928
5052
  outline?: string | undefined;
@@ -4930,7 +5054,6 @@ declare const ManifestSchema: z.ZodObject<{
4930
5054
  detail?: string | undefined;
4931
5055
  enhancePrompt?: boolean | undefined;
4932
5056
  generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
4933
- size?: number | undefined;
4934
5057
  view?: string | undefined;
4935
5058
  promptSuffix?: string | undefined;
4936
5059
  promptPrefix?: string | undefined;
@@ -5016,13 +5139,13 @@ declare const ManifestSchema: z.ZodObject<{
5016
5139
  providerOptions: Record<string, Record<string, unknown>>;
5017
5140
  provider?: string | undefined;
5018
5141
  template?: string | undefined;
5142
+ size?: number | undefined;
5019
5143
  directions?: 4 | 8 | undefined;
5020
5144
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
5021
5145
  outline?: string | undefined;
5022
5146
  shading?: string | undefined;
5023
5147
  detail?: string | undefined;
5024
5148
  enhancePrompt?: boolean | undefined;
5025
- size?: number | undefined;
5026
5149
  view?: string | undefined;
5027
5150
  tileSize?: number | undefined;
5028
5151
  tileHeight?: number | undefined;
@@ -5089,6 +5212,7 @@ declare const ManifestSchema: z.ZodObject<{
5089
5212
  provider?: string | undefined;
5090
5213
  palette?: string[] | undefined;
5091
5214
  template?: string | undefined;
5215
+ size?: number | undefined;
5092
5216
  directions?: 4 | 8 | undefined;
5093
5217
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
5094
5218
  outline?: string | undefined;
@@ -5096,7 +5220,6 @@ declare const ManifestSchema: z.ZodObject<{
5096
5220
  detail?: string | undefined;
5097
5221
  enhancePrompt?: boolean | undefined;
5098
5222
  generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
5099
- size?: number | undefined;
5100
5223
  view?: string | undefined;
5101
5224
  promptSuffix?: string | undefined;
5102
5225
  promptPrefix?: string | undefined;
@@ -5182,13 +5305,13 @@ declare const ManifestSchema: z.ZodObject<{
5182
5305
  providerOptions: Record<string, Record<string, unknown>>;
5183
5306
  provider?: string | undefined;
5184
5307
  template?: string | undefined;
5308
+ size?: number | undefined;
5185
5309
  directions?: 4 | 8 | undefined;
5186
5310
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
5187
5311
  outline?: string | undefined;
5188
5312
  shading?: string | undefined;
5189
5313
  detail?: string | undefined;
5190
5314
  enhancePrompt?: boolean | undefined;
5191
- size?: number | undefined;
5192
5315
  view?: string | undefined;
5193
5316
  tileSize?: number | undefined;
5194
5317
  tileHeight?: number | undefined;
@@ -5255,6 +5378,7 @@ declare const ManifestSchema: z.ZodObject<{
5255
5378
  provider?: string | undefined;
5256
5379
  palette?: string[] | undefined;
5257
5380
  template?: string | undefined;
5381
+ size?: number | undefined;
5258
5382
  directions?: 4 | 8 | undefined;
5259
5383
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
5260
5384
  outline?: string | undefined;
@@ -5262,7 +5386,6 @@ declare const ManifestSchema: z.ZodObject<{
5262
5386
  detail?: string | undefined;
5263
5387
  enhancePrompt?: boolean | undefined;
5264
5388
  generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
5265
- size?: number | undefined;
5266
5389
  view?: string | undefined;
5267
5390
  promptSuffix?: string | undefined;
5268
5391
  promptPrefix?: string | undefined;
@@ -5731,6 +5854,35 @@ declare const ManifestSchema: z.ZodObject<{
5731
5854
  }>]>, "many">>;
5732
5855
  /** `uiAsset` styles: named, auto-positioned UI element scaffolds. Combine with `pieces`; omit both for a default full-canvas panel. */
5733
5856
  elements: z.ZodOptional<z.ZodArray<z.ZodEnum<["button", "icon_button", "toolbar", "tab", "panel", "window", "health_bar", "avatar", "triangle", "pentagon", "hexagon", "octagon"]>, "many">>;
5857
+ /** `character` styles: this asset is a bust portrait of another character asset's south sprite. */
5858
+ portrait: z.ZodOptional<z.ZodObject<{
5859
+ /** The base or state to portray, in the same style. */
5860
+ of: z.ZodString;
5861
+ size: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<16>, z.ZodLiteral<32>, z.ZodLiteral<48>, z.ZodLiteral<64>, z.ZodLiteral<128>, z.ZodLiteral<160>]>>;
5862
+ }, "strict", z.ZodTypeAny, {
5863
+ of: string;
5864
+ size: 16 | 128 | 64 | 32 | 48 | 160;
5865
+ }, {
5866
+ of: string;
5867
+ size?: 16 | 128 | 64 | 32 | 48 | 160 | undefined;
5868
+ }>>;
5869
+ /** `character` styles: this asset re-clothes an existing loop's frames with a reference outfit. */
5870
+ outfit: z.ZodOptional<z.ZodObject<{
5871
+ /** The loop (a character animation asset) to re-clothe, in the same style. */
5872
+ of: z.ZodString;
5873
+ /** Manifest-relative image of the outfit to transfer. */
5874
+ reference: z.ZodString;
5875
+ /** Extra guidance PixelLab passes through as written, e.g. view/direction hints. */
5876
+ additionalInstructions: z.ZodOptional<z.ZodString>;
5877
+ }, "strict", z.ZodTypeAny, {
5878
+ of: string;
5879
+ reference: string;
5880
+ additionalInstructions?: string | undefined;
5881
+ }, {
5882
+ of: string;
5883
+ reference: string;
5884
+ additionalInstructions?: string | undefined;
5885
+ }>>;
5734
5886
  /** `character` styles, `standard` humanoid bases: this character's proportions, over the style's. */
5735
5887
  proportions: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["default", "chibi", "cartoon", "stylized", "realistic_male", "realistic_female", "heroic"]>, z.ZodObject<{
5736
5888
  headSize: z.ZodOptional<z.ZodNumber>;
@@ -5837,6 +5989,8 @@ declare const ManifestSchema: z.ZodObject<{
5837
5989
  detail?: string | undefined;
5838
5990
  enhancePrompt?: boolean | undefined;
5839
5991
  } | undefined;
5992
+ size?: number | undefined;
5993
+ reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
5840
5994
  state?: {
5841
5995
  of: string;
5842
5996
  paletteFromReference: boolean;
@@ -5845,7 +5999,15 @@ declare const ManifestSchema: z.ZodObject<{
5845
5999
  height: number;
5846
6000
  } | undefined;
5847
6001
  } | undefined;
5848
- size?: number | undefined;
6002
+ portrait?: {
6003
+ of: string;
6004
+ size: 16 | 128 | 64 | 32 | 48 | 160;
6005
+ } | undefined;
6006
+ outfit?: {
6007
+ of: string;
6008
+ reference: string;
6009
+ additionalInstructions?: string | undefined;
6010
+ } | undefined;
5849
6011
  proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
5850
6012
  headSize?: number | undefined;
5851
6013
  armsLength?: number | undefined;
@@ -5906,7 +6068,6 @@ declare const ManifestSchema: z.ZodObject<{
5906
6068
  phase?: number | undefined;
5907
6069
  })[] | undefined;
5908
6070
  elements?: ("button" | "icon_button" | "toolbar" | "tab" | "panel" | "window" | "health_bar" | "avatar" | "triangle" | "pentagon" | "hexagon" | "octagon")[] | undefined;
5909
- reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
5910
6071
  concept?: string | undefined;
5911
6072
  mirror?: string | undefined;
5912
6073
  outputRole?: string | undefined;
@@ -5930,6 +6091,8 @@ declare const ManifestSchema: z.ZodObject<{
5930
6091
  detail?: string | undefined;
5931
6092
  enhancePrompt?: boolean | undefined;
5932
6093
  } | undefined;
6094
+ size?: number | undefined;
6095
+ reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
5933
6096
  state?: {
5934
6097
  of: string;
5935
6098
  paletteFromReference?: boolean | undefined;
@@ -5938,7 +6101,15 @@ declare const ManifestSchema: z.ZodObject<{
5938
6101
  height: number;
5939
6102
  } | undefined;
5940
6103
  } | undefined;
5941
- size?: number | undefined;
6104
+ portrait?: {
6105
+ of: string;
6106
+ size?: 16 | 128 | 64 | 32 | 48 | 160 | undefined;
6107
+ } | undefined;
6108
+ outfit?: {
6109
+ of: string;
6110
+ reference: string;
6111
+ additionalInstructions?: string | undefined;
6112
+ } | undefined;
5942
6113
  proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
5943
6114
  headSize?: number | undefined;
5944
6115
  armsLength?: number | undefined;
@@ -6001,7 +6172,6 @@ declare const ManifestSchema: z.ZodObject<{
6001
6172
  phase?: number | undefined;
6002
6173
  })[] | undefined;
6003
6174
  elements?: ("button" | "icon_button" | "toolbar" | "tab" | "panel" | "window" | "health_bar" | "avatar" | "triangle" | "pentagon" | "hexagon" | "octagon")[] | undefined;
6004
- reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
6005
6175
  concept?: string | undefined;
6006
6176
  mirror?: string | undefined;
6007
6177
  outputRole?: string | undefined;
@@ -6033,6 +6203,8 @@ declare const ManifestSchema: z.ZodObject<{
6033
6203
  detail?: string | undefined;
6034
6204
  enhancePrompt?: boolean | undefined;
6035
6205
  } | undefined;
6206
+ size?: number | undefined;
6207
+ reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
6036
6208
  state?: {
6037
6209
  of: string;
6038
6210
  paletteFromReference: boolean;
@@ -6041,7 +6213,15 @@ declare const ManifestSchema: z.ZodObject<{
6041
6213
  height: number;
6042
6214
  } | undefined;
6043
6215
  } | undefined;
6044
- size?: number | undefined;
6216
+ portrait?: {
6217
+ of: string;
6218
+ size: 16 | 128 | 64 | 32 | 48 | 160;
6219
+ } | undefined;
6220
+ outfit?: {
6221
+ of: string;
6222
+ reference: string;
6223
+ additionalInstructions?: string | undefined;
6224
+ } | undefined;
6045
6225
  proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
6046
6226
  headSize?: number | undefined;
6047
6227
  armsLength?: number | undefined;
@@ -6102,7 +6282,6 @@ declare const ManifestSchema: z.ZodObject<{
6102
6282
  phase?: number | undefined;
6103
6283
  })[] | undefined;
6104
6284
  elements?: ("button" | "icon_button" | "toolbar" | "tab" | "panel" | "window" | "health_bar" | "avatar" | "triangle" | "pentagon" | "hexagon" | "octagon")[] | undefined;
6105
- reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
6106
6285
  concept?: string | undefined;
6107
6286
  mirror?: string | undefined;
6108
6287
  outputRole?: string | undefined;
@@ -6126,6 +6305,8 @@ declare const ManifestSchema: z.ZodObject<{
6126
6305
  detail?: string | undefined;
6127
6306
  enhancePrompt?: boolean | undefined;
6128
6307
  } | undefined;
6308
+ size?: number | undefined;
6309
+ reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
6129
6310
  state?: {
6130
6311
  of: string;
6131
6312
  paletteFromReference?: boolean | undefined;
@@ -6134,7 +6315,15 @@ declare const ManifestSchema: z.ZodObject<{
6134
6315
  height: number;
6135
6316
  } | undefined;
6136
6317
  } | undefined;
6137
- size?: number | undefined;
6318
+ portrait?: {
6319
+ of: string;
6320
+ size?: 16 | 128 | 64 | 32 | 48 | 160 | undefined;
6321
+ } | undefined;
6322
+ outfit?: {
6323
+ of: string;
6324
+ reference: string;
6325
+ additionalInstructions?: string | undefined;
6326
+ } | undefined;
6138
6327
  proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
6139
6328
  headSize?: number | undefined;
6140
6329
  armsLength?: number | undefined;
@@ -6197,7 +6386,6 @@ declare const ManifestSchema: z.ZodObject<{
6197
6386
  phase?: number | undefined;
6198
6387
  })[] | undefined;
6199
6388
  elements?: ("button" | "icon_button" | "toolbar" | "tab" | "panel" | "window" | "health_bar" | "avatar" | "triangle" | "pentagon" | "hexagon" | "octagon")[] | undefined;
6200
- reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
6201
6389
  concept?: string | undefined;
6202
6390
  mirror?: string | undefined;
6203
6391
  outputRole?: string | undefined;
@@ -6222,13 +6410,13 @@ declare const ManifestSchema: z.ZodObject<{
6222
6410
  providerOptions: Record<string, Record<string, unknown>>;
6223
6411
  provider?: string | undefined;
6224
6412
  template?: string | undefined;
6413
+ size?: number | undefined;
6225
6414
  directions?: 4 | 8 | undefined;
6226
6415
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
6227
6416
  outline?: string | undefined;
6228
6417
  shading?: string | undefined;
6229
6418
  detail?: string | undefined;
6230
6419
  enhancePrompt?: boolean | undefined;
6231
- size?: number | undefined;
6232
6420
  view?: string | undefined;
6233
6421
  tileSize?: number | undefined;
6234
6422
  tileHeight?: number | undefined;
@@ -6317,6 +6505,8 @@ declare const ManifestSchema: z.ZodObject<{
6317
6505
  detail?: string | undefined;
6318
6506
  enhancePrompt?: boolean | undefined;
6319
6507
  } | undefined;
6508
+ size?: number | undefined;
6509
+ reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
6320
6510
  state?: {
6321
6511
  of: string;
6322
6512
  paletteFromReference: boolean;
@@ -6325,7 +6515,15 @@ declare const ManifestSchema: z.ZodObject<{
6325
6515
  height: number;
6326
6516
  } | undefined;
6327
6517
  } | undefined;
6328
- size?: number | undefined;
6518
+ portrait?: {
6519
+ of: string;
6520
+ size: 16 | 128 | 64 | 32 | 48 | 160;
6521
+ } | undefined;
6522
+ outfit?: {
6523
+ of: string;
6524
+ reference: string;
6525
+ additionalInstructions?: string | undefined;
6526
+ } | undefined;
6329
6527
  proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
6330
6528
  headSize?: number | undefined;
6331
6529
  armsLength?: number | undefined;
@@ -6386,7 +6584,6 @@ declare const ManifestSchema: z.ZodObject<{
6386
6584
  phase?: number | undefined;
6387
6585
  })[] | undefined;
6388
6586
  elements?: ("button" | "icon_button" | "toolbar" | "tab" | "panel" | "window" | "health_bar" | "avatar" | "triangle" | "pentagon" | "hexagon" | "octagon")[] | undefined;
6389
- reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
6390
6587
  concept?: string | undefined;
6391
6588
  mirror?: string | undefined;
6392
6589
  outputRole?: string | undefined;
@@ -6399,6 +6596,7 @@ declare const ManifestSchema: z.ZodObject<{
6399
6596
  provider?: string | undefined;
6400
6597
  palette?: string[] | undefined;
6401
6598
  template?: string | undefined;
6599
+ size?: number | undefined;
6402
6600
  directions?: 4 | 8 | undefined;
6403
6601
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
6404
6602
  outline?: string | undefined;
@@ -6406,7 +6604,6 @@ declare const ManifestSchema: z.ZodObject<{
6406
6604
  detail?: string | undefined;
6407
6605
  enhancePrompt?: boolean | undefined;
6408
6606
  generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
6409
- size?: number | undefined;
6410
6607
  view?: string | undefined;
6411
6608
  promptSuffix?: string | undefined;
6412
6609
  promptPrefix?: string | undefined;
@@ -6499,6 +6696,8 @@ declare const ManifestSchema: z.ZodObject<{
6499
6696
  detail?: string | undefined;
6500
6697
  enhancePrompt?: boolean | undefined;
6501
6698
  } | undefined;
6699
+ size?: number | undefined;
6700
+ reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
6502
6701
  state?: {
6503
6702
  of: string;
6504
6703
  paletteFromReference?: boolean | undefined;
@@ -6507,7 +6706,15 @@ declare const ManifestSchema: z.ZodObject<{
6507
6706
  height: number;
6508
6707
  } | undefined;
6509
6708
  } | undefined;
6510
- size?: number | undefined;
6709
+ portrait?: {
6710
+ of: string;
6711
+ size?: 16 | 128 | 64 | 32 | 48 | 160 | undefined;
6712
+ } | undefined;
6713
+ outfit?: {
6714
+ of: string;
6715
+ reference: string;
6716
+ additionalInstructions?: string | undefined;
6717
+ } | undefined;
6511
6718
  proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
6512
6719
  headSize?: number | undefined;
6513
6720
  armsLength?: number | undefined;
@@ -6570,7 +6777,6 @@ declare const ManifestSchema: z.ZodObject<{
6570
6777
  phase?: number | undefined;
6571
6778
  })[] | undefined;
6572
6779
  elements?: ("button" | "icon_button" | "toolbar" | "tab" | "panel" | "window" | "health_bar" | "avatar" | "triangle" | "pentagon" | "hexagon" | "octagon")[] | undefined;
6573
- reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
6574
6780
  concept?: string | undefined;
6575
6781
  mirror?: string | undefined;
6576
6782
  outputRole?: string | undefined;
@@ -6974,13 +7180,13 @@ declare const ManifestInputSchema: z.ZodObject<{
6974
7180
  providerOptions: Record<string, Record<string, unknown>>;
6975
7181
  provider?: string | undefined;
6976
7182
  template?: string | undefined;
7183
+ size?: number | undefined;
6977
7184
  directions?: 4 | 8 | undefined;
6978
7185
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
6979
7186
  outline?: string | undefined;
6980
7187
  shading?: string | undefined;
6981
7188
  detail?: string | undefined;
6982
7189
  enhancePrompt?: boolean | undefined;
6983
- size?: number | undefined;
6984
7190
  view?: string | undefined;
6985
7191
  tileSize?: number | undefined;
6986
7192
  tileHeight?: number | undefined;
@@ -7047,6 +7253,7 @@ declare const ManifestInputSchema: z.ZodObject<{
7047
7253
  provider?: string | undefined;
7048
7254
  palette?: string[] | undefined;
7049
7255
  template?: string | undefined;
7256
+ size?: number | undefined;
7050
7257
  directions?: 4 | 8 | undefined;
7051
7258
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
7052
7259
  outline?: string | undefined;
@@ -7054,7 +7261,6 @@ declare const ManifestInputSchema: z.ZodObject<{
7054
7261
  detail?: string | undefined;
7055
7262
  enhancePrompt?: boolean | undefined;
7056
7263
  generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
7057
- size?: number | undefined;
7058
7264
  view?: string | undefined;
7059
7265
  promptSuffix?: string | undefined;
7060
7266
  promptPrefix?: string | undefined;
@@ -7140,13 +7346,13 @@ declare const ManifestInputSchema: z.ZodObject<{
7140
7346
  providerOptions: Record<string, Record<string, unknown>>;
7141
7347
  provider?: string | undefined;
7142
7348
  template?: string | undefined;
7349
+ size?: number | undefined;
7143
7350
  directions?: 4 | 8 | undefined;
7144
7351
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
7145
7352
  outline?: string | undefined;
7146
7353
  shading?: string | undefined;
7147
7354
  detail?: string | undefined;
7148
7355
  enhancePrompt?: boolean | undefined;
7149
- size?: number | undefined;
7150
7356
  view?: string | undefined;
7151
7357
  tileSize?: number | undefined;
7152
7358
  tileHeight?: number | undefined;
@@ -7213,6 +7419,7 @@ declare const ManifestInputSchema: z.ZodObject<{
7213
7419
  provider?: string | undefined;
7214
7420
  palette?: string[] | undefined;
7215
7421
  template?: string | undefined;
7422
+ size?: number | undefined;
7216
7423
  directions?: 4 | 8 | undefined;
7217
7424
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
7218
7425
  outline?: string | undefined;
@@ -7220,7 +7427,6 @@ declare const ManifestInputSchema: z.ZodObject<{
7220
7427
  detail?: string | undefined;
7221
7428
  enhancePrompt?: boolean | undefined;
7222
7429
  generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
7223
- size?: number | undefined;
7224
7430
  view?: string | undefined;
7225
7431
  promptSuffix?: string | undefined;
7226
7432
  promptPrefix?: string | undefined;
@@ -7306,13 +7512,13 @@ declare const ManifestInputSchema: z.ZodObject<{
7306
7512
  providerOptions: Record<string, Record<string, unknown>>;
7307
7513
  provider?: string | undefined;
7308
7514
  template?: string | undefined;
7515
+ size?: number | undefined;
7309
7516
  directions?: 4 | 8 | undefined;
7310
7517
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
7311
7518
  outline?: string | undefined;
7312
7519
  shading?: string | undefined;
7313
7520
  detail?: string | undefined;
7314
7521
  enhancePrompt?: boolean | undefined;
7315
- size?: number | undefined;
7316
7522
  view?: string | undefined;
7317
7523
  tileSize?: number | undefined;
7318
7524
  tileHeight?: number | undefined;
@@ -7379,6 +7585,7 @@ declare const ManifestInputSchema: z.ZodObject<{
7379
7585
  provider?: string | undefined;
7380
7586
  palette?: string[] | undefined;
7381
7587
  template?: string | undefined;
7588
+ size?: number | undefined;
7382
7589
  directions?: 4 | 8 | undefined;
7383
7590
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
7384
7591
  outline?: string | undefined;
@@ -7386,7 +7593,6 @@ declare const ManifestInputSchema: z.ZodObject<{
7386
7593
  detail?: string | undefined;
7387
7594
  enhancePrompt?: boolean | undefined;
7388
7595
  generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
7389
- size?: number | undefined;
7390
7596
  view?: string | undefined;
7391
7597
  promptSuffix?: string | undefined;
7392
7598
  promptPrefix?: string | undefined;
@@ -7608,6 +7814,7 @@ declare const ManifestInputSchema: z.ZodObject<{
7608
7814
  provider?: string | undefined;
7609
7815
  palette?: string[] | undefined;
7610
7816
  template?: string | undefined;
7817
+ size?: number | undefined;
7611
7818
  directions?: 4 | 8 | undefined;
7612
7819
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
7613
7820
  outline?: string | undefined;
@@ -7615,7 +7822,6 @@ declare const ManifestInputSchema: z.ZodObject<{
7615
7822
  detail?: string | undefined;
7616
7823
  enhancePrompt?: boolean | undefined;
7617
7824
  generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
7618
- size?: number | undefined;
7619
7825
  view?: string | undefined;
7620
7826
  promptSuffix?: string | undefined;
7621
7827
  promptPrefix?: string | undefined;
@@ -7692,6 +7898,7 @@ declare const ManifestInputSchema: z.ZodObject<{
7692
7898
  provider?: string | undefined;
7693
7899
  palette?: string[] | undefined;
7694
7900
  template?: string | undefined;
7901
+ size?: number | undefined;
7695
7902
  directions?: 4 | 8 | undefined;
7696
7903
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
7697
7904
  outline?: string | undefined;
@@ -7699,7 +7906,6 @@ declare const ManifestInputSchema: z.ZodObject<{
7699
7906
  detail?: string | undefined;
7700
7907
  enhancePrompt?: boolean | undefined;
7701
7908
  generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
7702
- size?: number | undefined;
7703
7909
  view?: string | undefined;
7704
7910
  promptSuffix?: string | undefined;
7705
7911
  promptPrefix?: string | undefined;
@@ -8168,6 +8374,35 @@ declare const ManifestInputSchema: z.ZodObject<{
8168
8374
  }>]>, "many">>;
8169
8375
  /** `uiAsset` styles: named, auto-positioned UI element scaffolds. Combine with `pieces`; omit both for a default full-canvas panel. */
8170
8376
  elements: z.ZodOptional<z.ZodArray<z.ZodEnum<["button", "icon_button", "toolbar", "tab", "panel", "window", "health_bar", "avatar", "triangle", "pentagon", "hexagon", "octagon"]>, "many">>;
8377
+ /** `character` styles: this asset is a bust portrait of another character asset's south sprite. */
8378
+ portrait: z.ZodOptional<z.ZodObject<{
8379
+ /** The base or state to portray, in the same style. */
8380
+ of: z.ZodString;
8381
+ size: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<16>, z.ZodLiteral<32>, z.ZodLiteral<48>, z.ZodLiteral<64>, z.ZodLiteral<128>, z.ZodLiteral<160>]>>;
8382
+ }, "strict", z.ZodTypeAny, {
8383
+ of: string;
8384
+ size: 16 | 128 | 64 | 32 | 48 | 160;
8385
+ }, {
8386
+ of: string;
8387
+ size?: 16 | 128 | 64 | 32 | 48 | 160 | undefined;
8388
+ }>>;
8389
+ /** `character` styles: this asset re-clothes an existing loop's frames with a reference outfit. */
8390
+ outfit: z.ZodOptional<z.ZodObject<{
8391
+ /** The loop (a character animation asset) to re-clothe, in the same style. */
8392
+ of: z.ZodString;
8393
+ /** Manifest-relative image of the outfit to transfer. */
8394
+ reference: z.ZodString;
8395
+ /** Extra guidance PixelLab passes through as written, e.g. view/direction hints. */
8396
+ additionalInstructions: z.ZodOptional<z.ZodString>;
8397
+ }, "strict", z.ZodTypeAny, {
8398
+ of: string;
8399
+ reference: string;
8400
+ additionalInstructions?: string | undefined;
8401
+ }, {
8402
+ of: string;
8403
+ reference: string;
8404
+ additionalInstructions?: string | undefined;
8405
+ }>>;
8171
8406
  /** `character` styles, `standard` humanoid bases: this character's proportions, over the style's. */
8172
8407
  proportions: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["default", "chibi", "cartoon", "stylized", "realistic_male", "realistic_female", "heroic"]>, z.ZodObject<{
8173
8408
  headSize: z.ZodOptional<z.ZodNumber>;
@@ -8274,6 +8509,8 @@ declare const ManifestInputSchema: z.ZodObject<{
8274
8509
  detail?: string | undefined;
8275
8510
  enhancePrompt?: boolean | undefined;
8276
8511
  } | undefined;
8512
+ size?: number | undefined;
8513
+ reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
8277
8514
  state?: {
8278
8515
  of: string;
8279
8516
  paletteFromReference: boolean;
@@ -8282,7 +8519,15 @@ declare const ManifestInputSchema: z.ZodObject<{
8282
8519
  height: number;
8283
8520
  } | undefined;
8284
8521
  } | undefined;
8285
- size?: number | undefined;
8522
+ portrait?: {
8523
+ of: string;
8524
+ size: 16 | 128 | 64 | 32 | 48 | 160;
8525
+ } | undefined;
8526
+ outfit?: {
8527
+ of: string;
8528
+ reference: string;
8529
+ additionalInstructions?: string | undefined;
8530
+ } | undefined;
8286
8531
  proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
8287
8532
  headSize?: number | undefined;
8288
8533
  armsLength?: number | undefined;
@@ -8343,7 +8588,6 @@ declare const ManifestInputSchema: z.ZodObject<{
8343
8588
  phase?: number | undefined;
8344
8589
  })[] | undefined;
8345
8590
  elements?: ("button" | "icon_button" | "toolbar" | "tab" | "panel" | "window" | "health_bar" | "avatar" | "triangle" | "pentagon" | "hexagon" | "octagon")[] | undefined;
8346
- reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
8347
8591
  concept?: string | undefined;
8348
8592
  mirror?: string | undefined;
8349
8593
  outputRole?: string | undefined;
@@ -8367,6 +8611,8 @@ declare const ManifestInputSchema: z.ZodObject<{
8367
8611
  detail?: string | undefined;
8368
8612
  enhancePrompt?: boolean | undefined;
8369
8613
  } | undefined;
8614
+ size?: number | undefined;
8615
+ reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
8370
8616
  state?: {
8371
8617
  of: string;
8372
8618
  paletteFromReference?: boolean | undefined;
@@ -8375,7 +8621,15 @@ declare const ManifestInputSchema: z.ZodObject<{
8375
8621
  height: number;
8376
8622
  } | undefined;
8377
8623
  } | undefined;
8378
- size?: number | undefined;
8624
+ portrait?: {
8625
+ of: string;
8626
+ size?: 16 | 128 | 64 | 32 | 48 | 160 | undefined;
8627
+ } | undefined;
8628
+ outfit?: {
8629
+ of: string;
8630
+ reference: string;
8631
+ additionalInstructions?: string | undefined;
8632
+ } | undefined;
8379
8633
  proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
8380
8634
  headSize?: number | undefined;
8381
8635
  armsLength?: number | undefined;
@@ -8438,7 +8692,6 @@ declare const ManifestInputSchema: z.ZodObject<{
8438
8692
  phase?: number | undefined;
8439
8693
  })[] | undefined;
8440
8694
  elements?: ("button" | "icon_button" | "toolbar" | "tab" | "panel" | "window" | "health_bar" | "avatar" | "triangle" | "pentagon" | "hexagon" | "octagon")[] | undefined;
8441
- reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
8442
8695
  concept?: string | undefined;
8443
8696
  mirror?: string | undefined;
8444
8697
  outputRole?: string | undefined;
@@ -8470,6 +8723,8 @@ declare const ManifestInputSchema: z.ZodObject<{
8470
8723
  detail?: string | undefined;
8471
8724
  enhancePrompt?: boolean | undefined;
8472
8725
  } | undefined;
8726
+ size?: number | undefined;
8727
+ reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
8473
8728
  state?: {
8474
8729
  of: string;
8475
8730
  paletteFromReference: boolean;
@@ -8478,7 +8733,15 @@ declare const ManifestInputSchema: z.ZodObject<{
8478
8733
  height: number;
8479
8734
  } | undefined;
8480
8735
  } | undefined;
8481
- size?: number | undefined;
8736
+ portrait?: {
8737
+ of: string;
8738
+ size: 16 | 128 | 64 | 32 | 48 | 160;
8739
+ } | undefined;
8740
+ outfit?: {
8741
+ of: string;
8742
+ reference: string;
8743
+ additionalInstructions?: string | undefined;
8744
+ } | undefined;
8482
8745
  proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
8483
8746
  headSize?: number | undefined;
8484
8747
  armsLength?: number | undefined;
@@ -8539,7 +8802,6 @@ declare const ManifestInputSchema: z.ZodObject<{
8539
8802
  phase?: number | undefined;
8540
8803
  })[] | undefined;
8541
8804
  elements?: ("button" | "icon_button" | "toolbar" | "tab" | "panel" | "window" | "health_bar" | "avatar" | "triangle" | "pentagon" | "hexagon" | "octagon")[] | undefined;
8542
- reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
8543
8805
  concept?: string | undefined;
8544
8806
  mirror?: string | undefined;
8545
8807
  outputRole?: string | undefined;
@@ -8563,6 +8825,8 @@ declare const ManifestInputSchema: z.ZodObject<{
8563
8825
  detail?: string | undefined;
8564
8826
  enhancePrompt?: boolean | undefined;
8565
8827
  } | undefined;
8828
+ size?: number | undefined;
8829
+ reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
8566
8830
  state?: {
8567
8831
  of: string;
8568
8832
  paletteFromReference?: boolean | undefined;
@@ -8571,7 +8835,15 @@ declare const ManifestInputSchema: z.ZodObject<{
8571
8835
  height: number;
8572
8836
  } | undefined;
8573
8837
  } | undefined;
8574
- size?: number | undefined;
8838
+ portrait?: {
8839
+ of: string;
8840
+ size?: 16 | 128 | 64 | 32 | 48 | 160 | undefined;
8841
+ } | undefined;
8842
+ outfit?: {
8843
+ of: string;
8844
+ reference: string;
8845
+ additionalInstructions?: string | undefined;
8846
+ } | undefined;
8575
8847
  proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
8576
8848
  headSize?: number | undefined;
8577
8849
  armsLength?: number | undefined;
@@ -8634,7 +8906,6 @@ declare const ManifestInputSchema: z.ZodObject<{
8634
8906
  phase?: number | undefined;
8635
8907
  })[] | undefined;
8636
8908
  elements?: ("button" | "icon_button" | "toolbar" | "tab" | "panel" | "window" | "health_bar" | "avatar" | "triangle" | "pentagon" | "hexagon" | "octagon")[] | undefined;
8637
- reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
8638
8909
  concept?: string | undefined;
8639
8910
  mirror?: string | undefined;
8640
8911
  outputRole?: string | undefined;
@@ -8659,13 +8930,13 @@ declare const ManifestInputSchema: z.ZodObject<{
8659
8930
  providerOptions: Record<string, Record<string, unknown>>;
8660
8931
  provider?: string | undefined;
8661
8932
  template?: string | undefined;
8933
+ size?: number | undefined;
8662
8934
  directions?: 4 | 8 | undefined;
8663
8935
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
8664
8936
  outline?: string | undefined;
8665
8937
  shading?: string | undefined;
8666
8938
  detail?: string | undefined;
8667
8939
  enhancePrompt?: boolean | undefined;
8668
- size?: number | undefined;
8669
8940
  view?: string | undefined;
8670
8941
  tileSize?: number | undefined;
8671
8942
  tileHeight?: number | undefined;
@@ -8733,6 +9004,7 @@ declare const ManifestInputSchema: z.ZodObject<{
8733
9004
  provider?: string | undefined;
8734
9005
  palette?: string[] | undefined;
8735
9006
  template?: string | undefined;
9007
+ size?: number | undefined;
8736
9008
  directions?: 4 | 8 | undefined;
8737
9009
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
8738
9010
  outline?: string | undefined;
@@ -8740,7 +9012,6 @@ declare const ManifestInputSchema: z.ZodObject<{
8740
9012
  detail?: string | undefined;
8741
9013
  enhancePrompt?: boolean | undefined;
8742
9014
  generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
8743
- size?: number | undefined;
8744
9015
  view?: string | undefined;
8745
9016
  promptSuffix?: string | undefined;
8746
9017
  promptPrefix?: string | undefined;
@@ -8838,6 +9109,8 @@ declare const ManifestInputSchema: z.ZodObject<{
8838
9109
  detail?: string | undefined;
8839
9110
  enhancePrompt?: boolean | undefined;
8840
9111
  } | undefined;
9112
+ size?: number | undefined;
9113
+ reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
8841
9114
  state?: {
8842
9115
  of: string;
8843
9116
  paletteFromReference: boolean;
@@ -8846,7 +9119,15 @@ declare const ManifestInputSchema: z.ZodObject<{
8846
9119
  height: number;
8847
9120
  } | undefined;
8848
9121
  } | undefined;
8849
- size?: number | undefined;
9122
+ portrait?: {
9123
+ of: string;
9124
+ size: 16 | 128 | 64 | 32 | 48 | 160;
9125
+ } | undefined;
9126
+ outfit?: {
9127
+ of: string;
9128
+ reference: string;
9129
+ additionalInstructions?: string | undefined;
9130
+ } | undefined;
8850
9131
  proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
8851
9132
  headSize?: number | undefined;
8852
9133
  armsLength?: number | undefined;
@@ -8907,7 +9188,6 @@ declare const ManifestInputSchema: z.ZodObject<{
8907
9188
  phase?: number | undefined;
8908
9189
  })[] | undefined;
8909
9190
  elements?: ("button" | "icon_button" | "toolbar" | "tab" | "panel" | "window" | "health_bar" | "avatar" | "triangle" | "pentagon" | "hexagon" | "octagon")[] | undefined;
8910
- reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
8911
9191
  concept?: string | undefined;
8912
9192
  mirror?: string | undefined;
8913
9193
  outputRole?: string | undefined;
@@ -8920,6 +9200,7 @@ declare const ManifestInputSchema: z.ZodObject<{
8920
9200
  provider?: string | undefined;
8921
9201
  palette?: string[] | undefined;
8922
9202
  template?: string | undefined;
9203
+ size?: number | undefined;
8923
9204
  directions?: 4 | 8 | undefined;
8924
9205
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
8925
9206
  outline?: string | undefined;
@@ -8927,7 +9208,6 @@ declare const ManifestInputSchema: z.ZodObject<{
8927
9208
  detail?: string | undefined;
8928
9209
  enhancePrompt?: boolean | undefined;
8929
9210
  generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
8930
- size?: number | undefined;
8931
9211
  view?: string | undefined;
8932
9212
  promptSuffix?: string | undefined;
8933
9213
  promptPrefix?: string | undefined;
@@ -9004,6 +9284,7 @@ declare const ManifestInputSchema: z.ZodObject<{
9004
9284
  provider?: string | undefined;
9005
9285
  palette?: string[] | undefined;
9006
9286
  template?: string | undefined;
9287
+ size?: number | undefined;
9007
9288
  directions?: 4 | 8 | undefined;
9008
9289
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
9009
9290
  outline?: string | undefined;
@@ -9011,7 +9292,6 @@ declare const ManifestInputSchema: z.ZodObject<{
9011
9292
  detail?: string | undefined;
9012
9293
  enhancePrompt?: boolean | undefined;
9013
9294
  generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
9014
- size?: number | undefined;
9015
9295
  view?: string | undefined;
9016
9296
  promptSuffix?: string | undefined;
9017
9297
  promptPrefix?: string | undefined;
@@ -9104,6 +9384,8 @@ declare const ManifestInputSchema: z.ZodObject<{
9104
9384
  detail?: string | undefined;
9105
9385
  enhancePrompt?: boolean | undefined;
9106
9386
  } | undefined;
9387
+ size?: number | undefined;
9388
+ reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
9107
9389
  state?: {
9108
9390
  of: string;
9109
9391
  paletteFromReference?: boolean | undefined;
@@ -9112,7 +9394,15 @@ declare const ManifestInputSchema: z.ZodObject<{
9112
9394
  height: number;
9113
9395
  } | undefined;
9114
9396
  } | undefined;
9115
- size?: number | undefined;
9397
+ portrait?: {
9398
+ of: string;
9399
+ size?: 16 | 128 | 64 | 32 | 48 | 160 | undefined;
9400
+ } | undefined;
9401
+ outfit?: {
9402
+ of: string;
9403
+ reference: string;
9404
+ additionalInstructions?: string | undefined;
9405
+ } | undefined;
9116
9406
  proportions?: "default" | "chibi" | "cartoon" | "stylized" | "realistic_male" | "realistic_female" | "heroic" | {
9117
9407
  headSize?: number | undefined;
9118
9408
  armsLength?: number | undefined;
@@ -9175,7 +9465,6 @@ declare const ManifestInputSchema: z.ZodObject<{
9175
9465
  phase?: number | undefined;
9176
9466
  })[] | undefined;
9177
9467
  elements?: ("button" | "icon_button" | "toolbar" | "tab" | "panel" | "window" | "health_bar" | "avatar" | "triangle" | "pentagon" | "hexagon" | "octagon")[] | undefined;
9178
- reference?: string | Partial<Record<"south" | "south-east" | "east" | "north-east" | "north" | "north-west" | "west" | "south-west", string>> | undefined;
9179
9468
  concept?: string | undefined;
9180
9469
  mirror?: string | undefined;
9181
9470
  outputRole?: string | undefined;
@@ -9493,6 +9782,25 @@ declare const LockEntrySchema: z.ZodObject<{
9493
9782
  index?: number | undefined;
9494
9783
  leaderAssetId?: string | undefined;
9495
9784
  }>>>;
9785
+ /**
9786
+ * For an outfit: the loop it re-clothed, a hash over that loop's output
9787
+ * hashes when this was made, and the reference image's own hash. Tracked
9788
+ * the way `mirror` is, not through `specHash`: manifest resolution has no
9789
+ * lock to hash the parent's actual current frame bytes against.
9790
+ */
9791
+ outfit: z.ZodDefault<z.ZodNullable<z.ZodObject<{
9792
+ sourceAssetId: z.ZodString;
9793
+ sourceSha256: z.ZodString;
9794
+ referenceSha256: z.ZodString;
9795
+ }, "strict", z.ZodTypeAny, {
9796
+ sourceAssetId: string;
9797
+ sourceSha256: string;
9798
+ referenceSha256: string;
9799
+ }, {
9800
+ sourceAssetId: string;
9801
+ sourceSha256: string;
9802
+ referenceSha256: string;
9803
+ }>>>;
9496
9804
  /**
9497
9805
  * Output hashes owned by the previous generation while its replacement is
9498
9806
  * pending. They authorize replacing only unchanged PixelKiln-owned files.
@@ -9815,6 +10123,11 @@ declare const LockEntrySchema: z.ZodObject<{
9815
10123
  height: number;
9816
10124
  provider: string;
9817
10125
  status: "processing" | "review" | "failed" | "pending" | "selected" | "downloaded" | "download-failed";
10126
+ outfit: {
10127
+ sourceAssetId: string;
10128
+ sourceSha256: string;
10129
+ referenceSha256: string;
10130
+ } | null;
9818
10131
  generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement";
9819
10132
  tileFeature: string | null;
9820
10133
  prompt: string;
@@ -9939,6 +10252,11 @@ declare const LockEntrySchema: z.ZodObject<{
9939
10252
  assetId: string;
9940
10253
  provider?: string | undefined;
9941
10254
  status?: "processing" | "review" | "failed" | "pending" | "selected" | "downloaded" | "download-failed" | undefined;
10255
+ outfit?: {
10256
+ sourceAssetId: string;
10257
+ sourceSha256: string;
10258
+ referenceSha256: string;
10259
+ } | null | undefined;
9942
10260
  tileFeature?: string | null | undefined;
9943
10261
  revision?: {
9944
10262
  mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
@@ -10135,6 +10453,25 @@ declare const LockSchema: z.ZodObject<{
10135
10453
  index?: number | undefined;
10136
10454
  leaderAssetId?: string | undefined;
10137
10455
  }>>>;
10456
+ /**
10457
+ * For an outfit: the loop it re-clothed, a hash over that loop's output
10458
+ * hashes when this was made, and the reference image's own hash. Tracked
10459
+ * the way `mirror` is, not through `specHash`: manifest resolution has no
10460
+ * lock to hash the parent's actual current frame bytes against.
10461
+ */
10462
+ outfit: z.ZodDefault<z.ZodNullable<z.ZodObject<{
10463
+ sourceAssetId: z.ZodString;
10464
+ sourceSha256: z.ZodString;
10465
+ referenceSha256: z.ZodString;
10466
+ }, "strict", z.ZodTypeAny, {
10467
+ sourceAssetId: string;
10468
+ sourceSha256: string;
10469
+ referenceSha256: string;
10470
+ }, {
10471
+ sourceAssetId: string;
10472
+ sourceSha256: string;
10473
+ referenceSha256: string;
10474
+ }>>>;
10138
10475
  /**
10139
10476
  * Output hashes owned by the previous generation while its replacement is
10140
10477
  * pending. They authorize replacing only unchanged PixelKiln-owned files.
@@ -10457,6 +10794,11 @@ declare const LockSchema: z.ZodObject<{
10457
10794
  height: number;
10458
10795
  provider: string;
10459
10796
  status: "processing" | "review" | "failed" | "pending" | "selected" | "downloaded" | "download-failed";
10797
+ outfit: {
10798
+ sourceAssetId: string;
10799
+ sourceSha256: string;
10800
+ referenceSha256: string;
10801
+ } | null;
10460
10802
  generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement";
10461
10803
  tileFeature: string | null;
10462
10804
  prompt: string;
@@ -10581,6 +10923,11 @@ declare const LockSchema: z.ZodObject<{
10581
10923
  assetId: string;
10582
10924
  provider?: string | undefined;
10583
10925
  status?: "processing" | "review" | "failed" | "pending" | "selected" | "downloaded" | "download-failed" | undefined;
10926
+ outfit?: {
10927
+ sourceAssetId: string;
10928
+ sourceSha256: string;
10929
+ referenceSha256: string;
10930
+ } | null | undefined;
10584
10931
  tileFeature?: string | null | undefined;
10585
10932
  revision?: {
10586
10933
  mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
@@ -10697,6 +11044,11 @@ declare const LockSchema: z.ZodObject<{
10697
11044
  height: number;
10698
11045
  provider: string;
10699
11046
  status: "processing" | "review" | "failed" | "pending" | "selected" | "downloaded" | "download-failed";
11047
+ outfit: {
11048
+ sourceAssetId: string;
11049
+ sourceSha256: string;
11050
+ referenceSha256: string;
11051
+ } | null;
10700
11052
  generator: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement";
10701
11053
  tileFeature: string | null;
10702
11054
  prompt: string;
@@ -10824,6 +11176,11 @@ declare const LockSchema: z.ZodObject<{
10824
11176
  assetId: string;
10825
11177
  provider?: string | undefined;
10826
11178
  status?: "processing" | "review" | "failed" | "pending" | "selected" | "downloaded" | "download-failed" | undefined;
11179
+ outfit?: {
11180
+ sourceAssetId: string;
11181
+ sourceSha256: string;
11182
+ referenceSha256: string;
11183
+ } | null | undefined;
10827
11184
  tileFeature?: string | null | undefined;
10828
11185
  revision?: {
10829
11186
  mode: "image-to-image" | "inpaint" | "outpaint" | "reduce-colors" | "correct-pixelart" | "animate" | "animate-pixminimax" | "interpolate" | "edit-animation";
@@ -11957,6 +12314,71 @@ declare class PixelLabClient {
11957
12314
  directions: string[];
11958
12315
  usage?: PixelLabUsage | null;
11959
12316
  }>;
12317
+ /**
12318
+ * A full-body sprite in, a bust portrait out (or the reverse, unused
12319
+ * today). Job-based like a state or `1dir`, not the couple-generations
12320
+ * "conversion" the name suggests: the smallest `resultSize` (16px) billed
12321
+ * 20 generations live (docs/ENDPOINTS.md, "Characters, measured").
12322
+ */
12323
+ createPortraitCharacterPro(args: {
12324
+ direction: "portrait_to_character" | "character_to_portrait";
12325
+ image: Base64Image;
12326
+ view?: string;
12327
+ resultSize?: number;
12328
+ seed?: number;
12329
+ }): Promise<{
12330
+ background_job_id: string;
12331
+ status: string;
12332
+ usage?: PixelLabUsage | null;
12333
+ }>;
12334
+ /** Throws PixelLabError(423) while the job is still drawing, like tiles and map objects. */
12335
+ getPortraitCharacterJob(jobId: string): Promise<{
12336
+ status: string;
12337
+ download_url?: string | null;
12338
+ width?: number | null;
12339
+ height?: number | null;
12340
+ }>;
12341
+ /**
12342
+ * Attaches a portrait image to a character record. Synchronous and free
12343
+ * (0 generations, live); PixelLab does not link this to
12344
+ * `createPortraitCharacterPro` automatically, and `GET /characters/{id}`
12345
+ * never grows a portrait field, so this response's `url` is the only place
12346
+ * it appears.
12347
+ */
12348
+ setCharacterPortrait(characterId: string, image: Base64Image): Promise<{
12349
+ character_id: string;
12350
+ size: number;
12351
+ url: string;
12352
+ usage?: PixelLabUsage | null;
12353
+ }>;
12354
+ /**
12355
+ * Applies a reference outfit to 2–16 existing frames. Job-based like
12356
+ * everything else here, but the completed job returns the result frames
12357
+ * inline as base64 (`last_response.quantized_images`), not as storage
12358
+ * URLs — the one PixelLab character tool that works this way. A live
12359
+ * 2-frame, 92x92 job billed 20 generations (docs/ENDPOINTS.md).
12360
+ */
12361
+ transferOutfitV2(args: {
12362
+ referenceImage: Base64Image & {
12363
+ width: number;
12364
+ height: number;
12365
+ };
12366
+ frames: (Base64Image & {
12367
+ width: number;
12368
+ height: number;
12369
+ })[];
12370
+ imageSize: {
12371
+ width: number;
12372
+ height: number;
12373
+ };
12374
+ seed?: number;
12375
+ noBackground?: boolean;
12376
+ additionalInstructions?: string;
12377
+ }): Promise<{
12378
+ background_job_id: string;
12379
+ status: string;
12380
+ usage?: PixelLabUsage | null;
12381
+ }>;
11960
12382
  getCharacter(characterId: string): Promise<PixelLabCharacter>;
11961
12383
  listCharacters(limit?: number, offset?: number): Promise<{
11962
12384
  characters: PixelLabCharacter[];
@@ -12310,12 +12732,15 @@ declare class PixelLabProvider implements Provider {
12310
12732
  * Tier 2=10, Tier 3=20); 8 is the safe floor across every tier. */
12311
12733
  rateLimit(): RateLimit;
12312
12734
  /**
12313
- * Where synchronous pixflux results are parked between `submit` and `fetch`.
12735
+ * Where synchronous pixflux results (or an outfit transfer's inline
12736
+ * frames) are parked between `submit`/poll and `fetch`.
12314
12737
  *
12315
- * pixflux returns the PNG inline rather than a job id, but the pipeline is
12316
- * built around submit → poll → fetch running as separate commands. Writing
12317
- * the bytes to a known path keeps that model intact: the "job id" is the
12318
- * filename, polling is an existence check, and downloading is a file read.
12738
+ * pixflux returns the PNG inline rather than a job id, and an outfit
12739
+ * transfer's completed job returns its frames inline too, but the
12740
+ * pipeline is built around submit → poll → fetch running as separate
12741
+ * commands. Writing the bytes to a known path keeps that model intact:
12742
+ * the id is the filename, polling is an existence check, and downloading
12743
+ * is a file read.
12319
12744
  */
12320
12745
  private static cacheDir;
12321
12746
  estimate(spec: ResolvedSpec): CostEstimate;
@@ -12338,6 +12763,23 @@ declare class PixelLabProvider implements Provider {
12338
12763
  */
12339
12764
  private submitObjectPro;
12340
12765
  private pollCharacter;
12766
+ /**
12767
+ * `jobId` here is `portrait-character-pro`'s own background job id, not a
12768
+ * character id: the endpoint converts an arbitrary image and never touches
12769
+ * the character record. Once the portrait itself is drawn, this also
12770
+ * attaches it to the parent's character record with `SetPortrait` — a
12771
+ * separate, free call PixelLab does not make automatically (docs/PIXELLAB.md).
12772
+ */
12773
+ private pollCharacterPortrait;
12774
+ /**
12775
+ * No dedicated status endpoint exists for `transfer-outfit-v2`, unlike
12776
+ * portraits and tiles: the background job is the only place to poll. A
12777
+ * completed job returns its frames inline as base64
12778
+ * (`last_response.quantized_images`), not as storage URLs, so they are
12779
+ * cached locally the way a synchronous pixflux result is, and matched back
12780
+ * to the source frames' own roles recorded at submit time.
12781
+ */
12782
+ private pollCharacterOutfit;
12341
12783
  /**
12342
12784
  * The background job is the authoritative record of one direction: it
12343
12785
  * completes with the frame URLs, the animation id, and the direction, and
@@ -12502,6 +12944,7 @@ declare class PixelLabProvider implements Provider {
12502
12944
  setTags(objectId: string, tags: string[], generator?: Generator): Promise<void>;
12503
12945
  list(): AsyncGenerator<RemoteAsset>;
12504
12946
  delete(assetId: string): Promise<void>;
12947
+ deleteCharacter(id: string): Promise<void>;
12505
12948
  listCharacters(): AsyncGenerator<RemoteCharacter>;
12506
12949
  getCharacter(id: string): Promise<RemoteCharacterDetail>;
12507
12950
  /**
@@ -12835,6 +13278,7 @@ declare class FakeProvider implements Provider {
12835
13278
  /** Characters answer with whatever the store holds now; other objects keep their URLs. */
12836
13279
  refreshSources(objectId: string, context: RefreshContext): Promise<OutputSource[] | null | undefined>;
12837
13280
  delete(assetId: string): Promise<void>;
13281
+ deleteCharacter(id: string): Promise<void>;
12838
13282
  /** Seed a pre-existing remote asset, for adopt / salvage tests. */
12839
13283
  seed(asset: Partial<RemoteAsset> & {
12840
13284
  id: string;
@@ -13439,13 +13883,13 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
13439
13883
  providerOptions: Record<string, Record<string, unknown>>;
13440
13884
  provider?: string | undefined;
13441
13885
  template?: string | undefined;
13886
+ size?: number | undefined;
13442
13887
  directions?: 4 | 8 | undefined;
13443
13888
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
13444
13889
  outline?: string | undefined;
13445
13890
  shading?: string | undefined;
13446
13891
  detail?: string | undefined;
13447
13892
  enhancePrompt?: boolean | undefined;
13448
- size?: number | undefined;
13449
13893
  view?: string | undefined;
13450
13894
  tileSize?: number | undefined;
13451
13895
  tileHeight?: number | undefined;
@@ -13512,6 +13956,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
13512
13956
  provider?: string | undefined;
13513
13957
  palette?: string[] | undefined;
13514
13958
  template?: string | undefined;
13959
+ size?: number | undefined;
13515
13960
  directions?: 4 | 8 | undefined;
13516
13961
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
13517
13962
  outline?: string | undefined;
@@ -13519,7 +13964,6 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
13519
13964
  detail?: string | undefined;
13520
13965
  enhancePrompt?: boolean | undefined;
13521
13966
  generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
13522
- size?: number | undefined;
13523
13967
  view?: string | undefined;
13524
13968
  promptSuffix?: string | undefined;
13525
13969
  promptPrefix?: string | undefined;
@@ -13605,13 +14049,13 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
13605
14049
  providerOptions: Record<string, Record<string, unknown>>;
13606
14050
  provider?: string | undefined;
13607
14051
  template?: string | undefined;
14052
+ size?: number | undefined;
13608
14053
  directions?: 4 | 8 | undefined;
13609
14054
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
13610
14055
  outline?: string | undefined;
13611
14056
  shading?: string | undefined;
13612
14057
  detail?: string | undefined;
13613
14058
  enhancePrompt?: boolean | undefined;
13614
- size?: number | undefined;
13615
14059
  view?: string | undefined;
13616
14060
  tileSize?: number | undefined;
13617
14061
  tileHeight?: number | undefined;
@@ -13678,6 +14122,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
13678
14122
  provider?: string | undefined;
13679
14123
  palette?: string[] | undefined;
13680
14124
  template?: string | undefined;
14125
+ size?: number | undefined;
13681
14126
  directions?: 4 | 8 | undefined;
13682
14127
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
13683
14128
  outline?: string | undefined;
@@ -13685,7 +14130,6 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
13685
14130
  detail?: string | undefined;
13686
14131
  enhancePrompt?: boolean | undefined;
13687
14132
  generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
13688
- size?: number | undefined;
13689
14133
  view?: string | undefined;
13690
14134
  promptSuffix?: string | undefined;
13691
14135
  promptPrefix?: string | undefined;
@@ -13771,13 +14215,13 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
13771
14215
  providerOptions: Record<string, Record<string, unknown>>;
13772
14216
  provider?: string | undefined;
13773
14217
  template?: string | undefined;
14218
+ size?: number | undefined;
13774
14219
  directions?: 4 | 8 | undefined;
13775
14220
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
13776
14221
  outline?: string | undefined;
13777
14222
  shading?: string | undefined;
13778
14223
  detail?: string | undefined;
13779
14224
  enhancePrompt?: boolean | undefined;
13780
- size?: number | undefined;
13781
14225
  view?: string | undefined;
13782
14226
  tileSize?: number | undefined;
13783
14227
  tileHeight?: number | undefined;
@@ -13844,6 +14288,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
13844
14288
  provider?: string | undefined;
13845
14289
  palette?: string[] | undefined;
13846
14290
  template?: string | undefined;
14291
+ size?: number | undefined;
13847
14292
  directions?: 4 | 8 | undefined;
13848
14293
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
13849
14294
  outline?: string | undefined;
@@ -13851,7 +14296,6 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
13851
14296
  detail?: string | undefined;
13852
14297
  enhancePrompt?: boolean | undefined;
13853
14298
  generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
13854
- size?: number | undefined;
13855
14299
  view?: string | undefined;
13856
14300
  promptSuffix?: string | undefined;
13857
14301
  promptPrefix?: string | undefined;
@@ -14288,13 +14732,13 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
14288
14732
  providerOptions: Record<string, Record<string, unknown>>;
14289
14733
  provider?: string | undefined;
14290
14734
  template?: string | undefined;
14735
+ size?: number | undefined;
14291
14736
  directions?: 4 | 8 | undefined;
14292
14737
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
14293
14738
  outline?: string | undefined;
14294
14739
  shading?: string | undefined;
14295
14740
  detail?: string | undefined;
14296
14741
  enhancePrompt?: boolean | undefined;
14297
- size?: number | undefined;
14298
14742
  view?: string | undefined;
14299
14743
  tileSize?: number | undefined;
14300
14744
  tileHeight?: number | undefined;
@@ -14432,6 +14876,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
14432
14876
  provider?: string | undefined;
14433
14877
  palette?: string[] | undefined;
14434
14878
  template?: string | undefined;
14879
+ size?: number | undefined;
14435
14880
  directions?: 4 | 8 | undefined;
14436
14881
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
14437
14882
  outline?: string | undefined;
@@ -14439,7 +14884,6 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
14439
14884
  detail?: string | undefined;
14440
14885
  enhancePrompt?: boolean | undefined;
14441
14886
  generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
14442
- size?: number | undefined;
14443
14887
  view?: string | undefined;
14444
14888
  promptSuffix?: string | undefined;
14445
14889
  promptPrefix?: string | undefined;
@@ -14618,13 +15062,13 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
14618
15062
  providerOptions: Record<string, Record<string, unknown>>;
14619
15063
  provider?: string | undefined;
14620
15064
  template?: string | undefined;
15065
+ size?: number | undefined;
14621
15066
  directions?: 4 | 8 | undefined;
14622
15067
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
14623
15068
  outline?: string | undefined;
14624
15069
  shading?: string | undefined;
14625
15070
  detail?: string | undefined;
14626
15071
  enhancePrompt?: boolean | undefined;
14627
- size?: number | undefined;
14628
15072
  view?: string | undefined;
14629
15073
  tileSize?: number | undefined;
14630
15074
  tileHeight?: number | undefined;
@@ -14762,6 +15206,7 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
14762
15206
  provider?: string | undefined;
14763
15207
  palette?: string[] | undefined;
14764
15208
  template?: string | undefined;
15209
+ size?: number | undefined;
14765
15210
  directions?: 4 | 8 | undefined;
14766
15211
  mode?: "standard" | "v3" | "pro" | "pro-flash" | undefined;
14767
15212
  outline?: string | undefined;
@@ -14769,7 +15214,6 @@ declare const RecipeSchema: z.ZodEffects<z.ZodObject<{
14769
15214
  detail?: string | undefined;
14770
15215
  enhancePrompt?: boolean | undefined;
14771
15216
  generator?: "map" | "1dir" | "pixflux" | "tiles" | "animation" | "frames" | "character" | "terrain" | "imagePro" | "isometricTile" | "objectPro" | "uiAsset" | "uiElement" | undefined;
14772
- size?: number | undefined;
14773
15217
  view?: string | undefined;
14774
15218
  promptSuffix?: string | undefined;
14775
15219
  promptPrefix?: string | undefined;
@@ -16668,7 +17112,7 @@ interface GalleryItem {
16668
17112
  interface GalleryCharacter {
16669
17113
  /** Which family this belongs to: a skeleton-based `character`, or a skeleton-free `objectPro`. */
16670
17114
  generator: "character" | "objectPro";
16671
- kind: "base" | "state" | "animation";
17115
+ kind: "base" | "state" | "animation" | "portrait" | "outfit";
16672
17116
  /** Lock key of the base or state this is drawn from; null for a base. */
16673
17117
  parentKey: string | null;
16674
17118
  mode: string;
@@ -16701,6 +17145,8 @@ interface GalleryStyle {
16701
17145
  bases: number;
16702
17146
  states: number;
16703
17147
  animations: number;
17148
+ portraits: number;
17149
+ outfits: number;
16704
17150
  } | null;
16705
17151
  tags: string[];
16706
17152
  /** Parent style id when this style `extends` one. */
@@ -17714,6 +18160,7 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
17714
18160
  subject?: string | undefined;
17715
18161
  enhancePrompt?: boolean | undefined;
17716
18162
  } | undefined;
18163
+ size?: number | undefined;
17717
18164
  state?: {
17718
18165
  of: string;
17719
18166
  paletteFromReference?: boolean | undefined;
@@ -17722,7 +18169,6 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
17722
18169
  height: number;
17723
18170
  } | undefined;
17724
18171
  } | undefined;
17725
- size?: number | undefined;
17726
18172
  tags?: string[] | undefined;
17727
18173
  category?: string | undefined;
17728
18174
  revision?: {
@@ -17745,6 +18191,7 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
17745
18191
  subject?: string | undefined;
17746
18192
  enhancePrompt?: boolean | undefined;
17747
18193
  } | undefined;
18194
+ size?: number | undefined;
17748
18195
  state?: {
17749
18196
  of: string;
17750
18197
  paletteFromReference?: boolean | undefined;
@@ -17753,7 +18200,6 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
17753
18200
  height: number;
17754
18201
  } | undefined;
17755
18202
  } | undefined;
17756
- size?: number | undefined;
17757
18203
  tags?: string[] | undefined;
17758
18204
  category?: string | undefined;
17759
18205
  revision?: {
@@ -17776,6 +18222,7 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
17776
18222
  subject?: string | undefined;
17777
18223
  enhancePrompt?: boolean | undefined;
17778
18224
  } | undefined;
18225
+ size?: number | undefined;
17779
18226
  state?: {
17780
18227
  of: string;
17781
18228
  paletteFromReference?: boolean | undefined;
@@ -17784,7 +18231,6 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
17784
18231
  height: number;
17785
18232
  } | undefined;
17786
18233
  } | undefined;
17787
- size?: number | undefined;
17788
18234
  tags?: string[] | undefined;
17789
18235
  category?: string | undefined;
17790
18236
  revision?: {
@@ -17807,6 +18253,7 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
17807
18253
  subject?: string | undefined;
17808
18254
  enhancePrompt?: boolean | undefined;
17809
18255
  } | undefined;
18256
+ size?: number | undefined;
17810
18257
  state?: {
17811
18258
  of: string;
17812
18259
  paletteFromReference?: boolean | undefined;
@@ -17815,7 +18262,6 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
17815
18262
  height: number;
17816
18263
  } | undefined;
17817
18264
  } | undefined;
17818
- size?: number | undefined;
17819
18265
  tags?: string[] | undefined;
17820
18266
  category?: string | undefined;
17821
18267
  revision?: {
@@ -17838,6 +18284,7 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
17838
18284
  subject?: string | undefined;
17839
18285
  enhancePrompt?: boolean | undefined;
17840
18286
  } | undefined;
18287
+ size?: number | undefined;
17841
18288
  state?: {
17842
18289
  of: string;
17843
18290
  paletteFromReference?: boolean | undefined;
@@ -17846,7 +18293,6 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
17846
18293
  height: number;
17847
18294
  } | undefined;
17848
18295
  } | undefined;
17849
- size?: number | undefined;
17850
18296
  tags?: string[] | undefined;
17851
18297
  category?: string | undefined;
17852
18298
  revision?: {
@@ -17869,6 +18315,7 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
17869
18315
  subject?: string | undefined;
17870
18316
  enhancePrompt?: boolean | undefined;
17871
18317
  } | undefined;
18318
+ size?: number | undefined;
17872
18319
  state?: {
17873
18320
  of: string;
17874
18321
  paletteFromReference?: boolean | undefined;
@@ -17877,7 +18324,6 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
17877
18324
  height: number;
17878
18325
  } | undefined;
17879
18326
  } | undefined;
17880
- size?: number | undefined;
17881
18327
  tags?: string[] | undefined;
17882
18328
  category?: string | undefined;
17883
18329
  revision?: {
@@ -17904,6 +18350,7 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
17904
18350
  subject?: string | undefined;
17905
18351
  enhancePrompt?: boolean | undefined;
17906
18352
  } | undefined;
18353
+ size?: number | undefined;
17907
18354
  state?: {
17908
18355
  of: string;
17909
18356
  paletteFromReference?: boolean | undefined;
@@ -17912,7 +18359,6 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
17912
18359
  height: number;
17913
18360
  } | undefined;
17914
18361
  } | undefined;
17915
- size?: number | undefined;
17916
18362
  tags?: string[] | undefined;
17917
18363
  category?: string | undefined;
17918
18364
  revision?: {
@@ -17941,6 +18387,7 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
17941
18387
  subject?: string | undefined;
17942
18388
  enhancePrompt?: boolean | undefined;
17943
18389
  } | undefined;
18390
+ size?: number | undefined;
17944
18391
  state?: {
17945
18392
  of: string;
17946
18393
  paletteFromReference?: boolean | undefined;
@@ -17949,7 +18396,6 @@ declare const ManifestEditSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject
17949
18396
  height: number;
17950
18397
  } | undefined;
17951
18398
  } | undefined;
17952
- size?: number | undefined;
17953
18399
  tags?: string[] | undefined;
17954
18400
  category?: string | undefined;
17955
18401
  revision?: {
@@ -18234,6 +18680,18 @@ interface Orphan {
18234
18680
  createdAt: string;
18235
18681
  previewUrl: string;
18236
18682
  tags: string[];
18683
+ /**
18684
+ * `character` for a character group (a base and its states), triaged as
18685
+ * one card; absent for an ordinary account object.
18686
+ */
18687
+ kind?: "character";
18688
+ /** One line the triage sheet shows under the size, e.g. a character's direction/state/loop counts. */
18689
+ note?: string;
18690
+ /** A character group's every character id, base first, with its current tags; a decision applies to all of them. */
18691
+ members?: {
18692
+ id: string;
18693
+ tags: string[];
18694
+ }[];
18237
18695
  }
18238
18696
  declare function findOrphans(provider: Provider, claimed: Set<string>, opts?: {
18239
18697
  onProgress?: (msg: string) => void;
@@ -18318,6 +18776,11 @@ interface SalvageDecision {
18318
18776
  */
18319
18777
  declare function applyTags(provider: Provider, decisions: SalvageDecision[], existing: Map<string, string[]>, opts?: {
18320
18778
  onProgress?: (msg: string) => void;
18779
+ /** Character groups by their card id: the member ids and current tags a decision applies to. */
18780
+ characters?: Map<string, {
18781
+ id: string;
18782
+ tags: string[];
18783
+ }[]>;
18321
18784
  }): Promise<{
18322
18785
  tagged: number;
18323
18786
  failed: number;
@@ -18328,14 +18791,22 @@ interface SalvageResult {
18328
18791
  kept: number;
18329
18792
  discarded: number;
18330
18793
  failed: number;
18794
+ /**
18795
+ * Manifest assets written for imported character groups. They have no
18796
+ * lock entries yet: the caller adopts them (`adoptCharacters`) once the
18797
+ * manifest is saved, which downloads every rotation and frame.
18798
+ */
18799
+ characterAssetIds?: string[];
18331
18800
  }
18332
18801
  /**
18333
18802
  * Serves the triage sheet and applies decisions.
18334
18803
  *
18335
18804
  * `import` is the only action that touches local state: it downloads the image,
18336
18805
  * writes a manifest asset and a lock entry, so a recovered sprite becomes a
18337
- * first-class tracked asset rather than a loose file. `keep` and `discard` only
18338
- * write tags upstream; no object is ever deleted here.
18806
+ * first-class tracked asset rather than a loose file. A character group's
18807
+ * import writes its base, states, and loops as manifest assets only; the
18808
+ * caller adopts them. `keep` and `discard` only write tags upstream (on every
18809
+ * member of a character group); nothing is ever deleted here.
18339
18810
  */
18340
18811
  declare function runSalvage(provider: Provider, orphans: Orphan[], ctx: {
18341
18812
  manifestPath: string;
@@ -18427,4 +18898,4 @@ interface WorkspaceStatusReport {
18427
18898
  */
18428
18899
  declare function workspaceStatus(ws: Workspace, dir: string): Promise<WorkspaceStatusReport>;
18429
18900
 
18430
- export { type AdoptResult, type ApproveQualityOptions, type ApprovedQualityReview, type ArtifactBundleManifest, type ArtifactBundleOptions, type ArtifactBundleResult, type ArtifactFile, type ArtifactProvenance, type ArtifactSource, type ArtifactVerification, type Asset, type AssetAudit, type AssetBatch, AssetBatchSchema, AssetSchema, type AtlasSet, type AuditEvaluation, type AuditThresholds, type AuditViolation, type Balance, type BalanceChange, type BalanceInfo, type Base64Image, type BilledAmount, BudgetError, type BuildGalleryOptions, type BuildWorkspaceGalleryOptions, CHARACTER_DIRECTIONS_4, CHARACTER_DIRECTIONS_8, CHARACTER_PROPORTION_PRESETS, type CacheHealthOptions, type CacheHealthReport, type CandidateSelection, type CharacterAnimation, type CharacterAnimationMode, CharacterAnimationModeSchema, CharacterAnimationSchema$1 as CharacterAnimationSchema, type CharacterDirection, CharacterDirectionSchema, type CharacterMode, CharacterModeSchema, type CharacterProportions, CharacterProportionsSchema, type CharacterState, CharacterStateSchema, type ComfyUIBinding, type ComfyUIBindings, type ComfyUIFramesOptions, type ComfyUIImageInput, type ComfyUIOptions, ComfyUIProvider, type ContentCacheHealth, type ContentCacheIssue, type CostEstimate, type CostUnit, DEFAULT_HISTORY_LIMIT, DEFAULT_QUALITY_TOLERANCES, DEFAULT_RATE_LIMIT, DEFAULT_TIMEOUT_MS, type DoctorCheck, type DoctorLevel, type DoctorOptions, type DoctorReport, EDITOR_PIN, EDITOR_RELEASE_BASE, EXIT_CODES, EditorInstallError, type EditorInstallOptions, type EditorInstallProgress, type EditorInstallResult, type EditorInstallStatus, type EditorPin, type ErrorCode, FAKE_PNG, FONT_COST_GENERATIONS, FONT_GLYPH_SIZES, FONT_WEIGHTS, FRAME_SET_REVISION_MODES, type FakeOptions, FakeProvider, type FetchResult, type FontGlyphSize, type FontWeight, type GalleryBuild, type GalleryEditHandlerOptions, type GalleryEditMeta, type GalleryEditorHandlers, type GalleryEditorOptions, type GalleryEditorStatus, type GalleryGenerateHandlers, type GalleryGeneration, type GalleryItem, type GalleryMedia, type GalleryOutput, type GalleryProject, type GalleryProjectContext, type GalleryQuality, type GalleryServer, type GalleryServerOptions, type GallerySnapshot, type GalleryState, type GalleryStyle, type GenerateFontOptions, type GenerateFontResult, type GenerateHandlerOptions, type GenerateJob, type GeneratePhase, GenerateRequestError, GenerateRequestSchema, type GenerateStatus, type Generator, GeneratorSchema, type GenericTileset, type GridConfidence, GridConfidenceSchema, HAND_EDIT_DIR, HISTORY_ENV, type HandEditCompanion, HandEditCompanionSchema, type HandEditMember, type HandEditSave, type HandEditSaveInput, type HandEditStart, type HandEditStatus, type HistoryPick, type ImageQualityMetrics, ImageQualityMetricsSchema, InheritedStyleSchema, type InstallRecipeOptions, type InstallRecipeResult, type JobState, type LoadedManifest, type LoadedRecipe, type Lock, type LockEntry, LockEntrySchema, type LockHistoryEntry, LockHistoryEntrySchema, type LockOutput, LockSchema, MAX_DOWNLOAD_BYTES, MAX_HAND_EDIT_BYTES, MAX_RETRIES, MEMBER_SET_REVISION_MODES, MIRRORED_DIRECTION, type ManagedArtifactBundleOptions, type Manifest, ManifestDriftError, type ManifestEdit, ManifestEditError, type ManifestEditResult, ManifestEditSchema, ManifestInputSchema, ManifestSchema, type MapObject, MediaType, type MountPlacement, type MountedSheet, type NormalizedTileRules, type ObjectAnimationGroup, type OpenProjectOptions, type Orphan, type OrphanGroups, type OutputSelection, type OutputSource, OverwriteRefusedError, PIXEL_ART_FIXER_REVISION, PIXEL_ART_FIXER_URL, type PackedFrame, type PackedSheet, type PackedSource, type PendingQualityReview, type PickResult, type PixelArtFixerDetection, PixelKilnError, type PixelKilnErrorOptions, type PixelLabCharacter, type PixelLabCharacterAnimation, PixelLabClient, PixelLabError, type PixelLabObject, PixelLabProvider, type PixelLabUsage, type Plan, type PlanItem, type PlanState, type PollContext, type PollOptions, type PollResult, type Postprocess, PostprocessSchema, type PrepareReviewOptions, type Project, ProjectError, type Provider, ProviderError, type ProviderFactory, type ProviderInputContext, type ProviderInputScalar, type ProviderInputValue, type ProviderMetadata, type ProviderMode, type ProviderOptionContext, type ProviderSubmission, type QualityBaseline, QualityBaselineSchema, type QualityCheck, type QualityProfile, type QualityProfileInspection, QualityProfileSchema, type QualityProfileState, type QualityRegressionCaseResult, type QualityRegressionReport, type QualitySnapshotResult, QualityToleranceSchema, type QualityTolerances, type RateLimit, type Recipe, type RecipeFileVerification, type RecipeModelVerification, RecipeSchema, type RecipeVerification, type RefineAudit, type RefineFrameSetOptions, type RefineFrameSetResult, type RefineOptions, type RefineQualityProfilesOptions, type RefineQualityProfilesResult, type RefineRecordOptions, type RefineResult, type RefreshContext, type RemoteAsset, type RemoteCharacter, type RemoteCharacterDetail, type RemoteHashCacheHealth, type RenderGalleryOptions, type RenderSheetOptions, type ResolvedBatch, type ResolvedCharacter, type ResolvedMirror, type ResolvedObjectPro, type ResolvedOutput, type ResolvedProviderInputs, type ResolvedProviderOptions, type ResolvedQualityInput, type ResolvedQualityProfile, type ResolvedReferenceImage, type ResolvedRevision, type ResolvedRevisionMember, type ResolvedSpec, type ResolvedStyleAnchor, type ResolvedStyleImage, type ResumeAction, type ResumeCommand, type RetroDiffusionOptions, RetroDiffusionProvider, type RetryInit, type RetryOptions, type RetryingFetch, type RevertOptions, type RevertResult, type ReviewReadyInfo, type ReviewSession, type Revision, type RevisionDithering, RevisionDitheringSchema, type RevisionMode, RevisionModeSchema, type RevisionReadiness, RevisionSchema, SHEET_FORMATS, type SalvageAction, type SalvageResult, type ScannedAsset, type ScenarioOptions, ScenarioProvider, type SessionBudget, type SheetAtlas, type SheetFormat, type SheetFormatOptions, type SheetGroup, type SiblingManifest, type SpriteInput, type Style, type StyleAudit, type StyleInput, StyleInputSchema, StyleSchema, type SubmissionCheckpoint, type SubmitContext, type SubmitOptions, type SubmitResult, type TilesPro, type Tileset, type TilesetExport, type TilesetExportOptions, type TilesetFormat, type TilesetTile, UNZOOM_MAX_AREA, UNZOOM_MIN_SIDE, type UiElement, UiElementSchema, type UiPiece, UiPieceSchema, UnsupportedCapabilityError, type UnzoomFileResult, UsageError, type Workspace, type WorkspaceClaims, type WorkspaceDiagnostic, type WorkspaceProject, WorkspaceProjectSchema, type WorkspaceProjectStatus, WorkspaceSchema, type WorkspaceStatusReport, adopt, applyManifestEdit, applyTags, approveQualityRecord, auditStyle, availableProviders, backoffMs, buildGallerySnapshot, buildManifest, buildPlan, buildWorkspaceGallerySnapshot, bundledRecipeRoot, cacheFileName, candidateCount, characterDirections, checkQualityBaseline, checkQualityRecord, clientFromEnv, colorDistance, countNumberedDescriptions, createArtifactBundleManifest, createGalleryEditHandler, createGalleryEditorHandlers, createGenerateHandlers, createProvider, currentEntryOutputPath, currentOutputPath, defaultOpenCommand, defaultUnzoomOut, detachHandEdit, detectMediaType, doctor, editorBaseUrl, editorDir, editorRoute, editorStatus, editorToolsRoot, errorCode, evaluateAudit, exitCodeFor, expectedOutputPath, exportTileset, fallbackOutputRole, fetchAssets, fetchWithRetry, findOrphans, fontOutputPaths, formatCost, frameSetFps, galleryMediaId, galleryMediaRoute, generateFont, generationCost, groupOrphansByStyle, handEditBase, handEditBases, handEditCompanionPath, handEditMembers, handEditPath, handEditProjectPath, hex, historyAfterReplacing, historyLimit, idFromPrompt, imageMetadata, inspectCaches, inspectQualityProfile, inspectRevisionReadiness, installEditor, installRecipe, isFrameSetEntry, isMemberSetEntry, isSensitiveSourceUrl, isometricTileCost, listBundledRecipes, loadClaims, loadLock, loadManifest, loadSiblingManifests, loadWorkspace, lockKey, matchOrphanStyle, measureBalanceChange, measureDecodedImageQuality, measureImageQuality, mediaExtension, mediaTypeFromExtension, memberPath, mergePalettes, mountSprites, mountStyle, normalizeLockOutputPaths, normalizeRefinementPalette, normalizeTerrainTiles, normalizeTileRules, openExternal, openInEditor, openProject, outliers, outputId, packSprites, packStyle, paletteDistance, parentAssetId, parseLock, parseTerrainDescriptions, parseWorkspace, pickHistory, pngSize, poll, portableOutputPath, prepareReview, primaryOutput, proportionsPayload, providerCredentialEnvs, providerFactory, pushTags, qualityFrameOutputPath, qualityRecordPath, quantizeToPalette, readArtifactBundleManifest, readHandEditCompanion, readQualityBaseline, recipeDigest, referencedHashes, refineAsset, refineFrameSet, refineQualityProfiles, registerProvider, remove, renderAsepriteSheet, renderGallery, renderGodotSpriteFrames, renderSalvageSheet, renderSheet, renderSheetDocument, requireApprovedQualitySources, requireBalance, requireDelete, requireList, requireRevisionReady, requireSelectCandidate, resolveEntryOutputs, resolveOutputPath, resolvePackInputs, resolveProject, resolveQualityInputs, resolveRecipe, resolveSpecEntryOutputs, resolveSpecOutputs, resolveSpecs, resolveStyleImages, resolveStyleOutputs, resumeActions, resumeCommandForStatus, retireGeneration, retryAfterMs, revertGeneration, runPicker, runSalvage, saveHandEdit, saveLock, saveWorkspace, scanAssets, selectEntryOutput, serveGallery, sha256, sha256File, shouldPersistSourceUrl, shouldRetry, slugify, snapshotQualityBaseline, sourceIsStem, sourceOutputPath, specHash, spendByUnit, startHandEdit, styleImagesBase64, submit, summarize, tagAdopted, terrainTileCount, tileFeatureOutputCount, tileVariationCount, tilesCost, toPortablePath, totalSpend, unzoomFile, upsert, validateCostEstimate, validateMedia, validateWorkspace, verifyArtifactBundle, verifyRecipe, withArtifactManifest, workspaceClaims, workspaceStatus, writeArtifactBundle, writeManagedArtifactBundle };
18901
+ export { type AdoptResult, type ApproveQualityOptions, type ApprovedQualityReview, type ArtifactBundleManifest, type ArtifactBundleOptions, type ArtifactBundleResult, type ArtifactFile, type ArtifactProvenance, type ArtifactSource, type ArtifactVerification, type Asset, type AssetAudit, type AssetBatch, AssetBatchSchema, AssetSchema, type AtlasSet, type AuditEvaluation, type AuditThresholds, type AuditViolation, type Balance, type BalanceChange, type BalanceInfo, type Base64Image, type BilledAmount, BudgetError, type BuildGalleryOptions, type BuildWorkspaceGalleryOptions, CHARACTER_DIRECTIONS_4, CHARACTER_DIRECTIONS_8, CHARACTER_PROPORTION_PRESETS, type CacheHealthOptions, type CacheHealthReport, type CandidateSelection, type CharacterAnimation, type CharacterAnimationMode, CharacterAnimationModeSchema, CharacterAnimationSchema$1 as CharacterAnimationSchema, type CharacterDirection, CharacterDirectionSchema, type CharacterMode, CharacterModeSchema, type CharacterOutfit, CharacterOutfitSchema, type CharacterPortrait, CharacterPortraitSchema, type CharacterPortraitSize, CharacterPortraitSizeSchema, type CharacterProportions, CharacterProportionsSchema, type CharacterState, CharacterStateSchema, type ComfyUIBinding, type ComfyUIBindings, type ComfyUIFramesOptions, type ComfyUIImageInput, type ComfyUIOptions, ComfyUIProvider, type ContentCacheHealth, type ContentCacheIssue, type CostEstimate, type CostUnit, DEFAULT_HISTORY_LIMIT, DEFAULT_QUALITY_TOLERANCES, DEFAULT_RATE_LIMIT, DEFAULT_TIMEOUT_MS, type DoctorCheck, type DoctorLevel, type DoctorOptions, type DoctorReport, EDITOR_PIN, EDITOR_RELEASE_BASE, EXIT_CODES, EditorInstallError, type EditorInstallOptions, type EditorInstallProgress, type EditorInstallResult, type EditorInstallStatus, type EditorPin, type ErrorCode, FAKE_PNG, FONT_COST_GENERATIONS, FONT_GLYPH_SIZES, FONT_WEIGHTS, FRAME_SET_REVISION_MODES, type FakeOptions, FakeProvider, type FetchResult, type FontGlyphSize, type FontWeight, type GalleryBuild, type GalleryEditHandlerOptions, type GalleryEditMeta, type GalleryEditorHandlers, type GalleryEditorOptions, type GalleryEditorStatus, type GalleryGenerateHandlers, type GalleryGeneration, type GalleryItem, type GalleryMedia, type GalleryOutput, type GalleryProject, type GalleryProjectContext, type GalleryQuality, type GalleryServer, type GalleryServerOptions, type GallerySnapshot, type GalleryState, type GalleryStyle, type GenerateFontOptions, type GenerateFontResult, type GenerateHandlerOptions, type GenerateJob, type GeneratePhase, GenerateRequestError, GenerateRequestSchema, type GenerateStatus, type Generator, GeneratorSchema, type GenericTileset, type GridConfidence, GridConfidenceSchema, HAND_EDIT_DIR, HISTORY_ENV, type HandEditCompanion, HandEditCompanionSchema, type HandEditMember, type HandEditSave, type HandEditSaveInput, type HandEditStart, type HandEditStatus, type HistoryPick, type ImageQualityMetrics, ImageQualityMetricsSchema, InheritedStyleSchema, type InstallRecipeOptions, type InstallRecipeResult, type JobState, type LoadedManifest, type LoadedRecipe, type Lock, type LockEntry, LockEntrySchema, type LockHistoryEntry, LockHistoryEntrySchema, type LockOutput, LockSchema, MAX_DOWNLOAD_BYTES, MAX_HAND_EDIT_BYTES, MAX_RETRIES, MEMBER_SET_REVISION_MODES, MIRRORED_DIRECTION, type ManagedArtifactBundleOptions, type Manifest, ManifestDriftError, type ManifestEdit, ManifestEditError, type ManifestEditResult, ManifestEditSchema, ManifestInputSchema, ManifestSchema, type MapObject, MediaType, type MountPlacement, type MountedSheet, type NormalizedTileRules, type ObjectAnimationGroup, type OpenProjectOptions, type Orphan, type OrphanGroups, type OutputSelection, type OutputSource, OverwriteRefusedError, PIXEL_ART_FIXER_REVISION, PIXEL_ART_FIXER_URL, type PackedFrame, type PackedSheet, type PackedSource, type PendingQualityReview, type PickResult, type PixelArtFixerDetection, PixelKilnError, type PixelKilnErrorOptions, type PixelLabCharacter, type PixelLabCharacterAnimation, PixelLabClient, PixelLabError, type PixelLabObject, PixelLabProvider, type PixelLabUsage, type Plan, type PlanItem, type PlanState, type PollContext, type PollOptions, type PollResult, type Postprocess, PostprocessSchema, type PrepareReviewOptions, type Project, ProjectError, type Provider, ProviderError, type ProviderFactory, type ProviderInputContext, type ProviderInputScalar, type ProviderInputValue, type ProviderMetadata, type ProviderMode, type ProviderOptionContext, type ProviderSubmission, type QualityBaseline, QualityBaselineSchema, type QualityCheck, type QualityProfile, type QualityProfileInspection, QualityProfileSchema, type QualityProfileState, type QualityRegressionCaseResult, type QualityRegressionReport, type QualitySnapshotResult, QualityToleranceSchema, type QualityTolerances, type RateLimit, type Recipe, type RecipeFileVerification, type RecipeModelVerification, RecipeSchema, type RecipeVerification, type RefineAudit, type RefineFrameSetOptions, type RefineFrameSetResult, type RefineOptions, type RefineQualityProfilesOptions, type RefineQualityProfilesResult, type RefineRecordOptions, type RefineResult, type RefreshContext, type RemoteAsset, type RemoteCharacter, type RemoteCharacterDetail, type RemoteHashCacheHealth, type RenderGalleryOptions, type RenderSheetOptions, type ResolvedBatch, type ResolvedCharacter, type ResolvedMirror, type ResolvedObjectPro, type ResolvedOutput, type ResolvedProviderInputs, type ResolvedProviderOptions, type ResolvedQualityInput, type ResolvedQualityProfile, type ResolvedReferenceImage, type ResolvedRevision, type ResolvedRevisionMember, type ResolvedSpec, type ResolvedStyleAnchor, type ResolvedStyleImage, type ResumeAction, type ResumeCommand, type RetroDiffusionOptions, RetroDiffusionProvider, type RetryInit, type RetryOptions, type RetryingFetch, type RevertOptions, type RevertResult, type ReviewReadyInfo, type ReviewSession, type Revision, type RevisionDithering, RevisionDitheringSchema, type RevisionMode, RevisionModeSchema, type RevisionReadiness, RevisionSchema, SHEET_FORMATS, type SalvageAction, type SalvageResult, type ScannedAsset, type ScenarioOptions, ScenarioProvider, type SessionBudget, type SheetAtlas, type SheetFormat, type SheetFormatOptions, type SheetGroup, type SiblingManifest, type SpriteInput, type Style, type StyleAudit, type StyleInput, StyleInputSchema, StyleSchema, type SubmissionCheckpoint, type SubmitContext, type SubmitOptions, type SubmitResult, type TilesPro, type Tileset, type TilesetExport, type TilesetExportOptions, type TilesetFormat, type TilesetTile, UNZOOM_MAX_AREA, UNZOOM_MIN_SIDE, type UiElement, UiElementSchema, type UiPiece, UiPieceSchema, UnsupportedCapabilityError, type UnzoomFileResult, UsageError, type Workspace, type WorkspaceClaims, type WorkspaceDiagnostic, type WorkspaceProject, WorkspaceProjectSchema, type WorkspaceProjectStatus, WorkspaceSchema, type WorkspaceStatusReport, adopt, applyManifestEdit, applyTags, approveQualityRecord, auditStyle, availableProviders, backoffMs, buildGallerySnapshot, buildManifest, buildPlan, buildWorkspaceGallerySnapshot, bundledRecipeRoot, cacheFileName, candidateCount, characterDirections, checkQualityBaseline, checkQualityRecord, clientFromEnv, colorDistance, countNumberedDescriptions, createArtifactBundleManifest, createGalleryEditHandler, createGalleryEditorHandlers, createGenerateHandlers, createProvider, currentEntryOutputPath, currentOutputPath, defaultOpenCommand, defaultUnzoomOut, detachHandEdit, detectMediaType, doctor, editorBaseUrl, editorDir, editorRoute, editorStatus, editorToolsRoot, errorCode, evaluateAudit, exitCodeFor, expectedOutputPath, exportTileset, fallbackOutputRole, fetchAssets, fetchWithRetry, findOrphans, fontOutputPaths, formatCost, frameSetFps, galleryMediaId, galleryMediaRoute, generateFont, generationCost, groupOrphansByStyle, handEditBase, handEditBases, handEditCompanionPath, handEditMembers, handEditPath, handEditProjectPath, hex, historyAfterReplacing, historyLimit, idFromPrompt, imageMetadata, inspectCaches, inspectQualityProfile, inspectRevisionReadiness, installEditor, installRecipe, isFrameSetEntry, isMemberSetEntry, isSensitiveSourceUrl, isometricTileCost, listBundledRecipes, loadClaims, loadLock, loadManifest, loadSiblingManifests, loadWorkspace, lockKey, matchOrphanStyle, measureBalanceChange, measureDecodedImageQuality, measureImageQuality, mediaExtension, mediaTypeFromExtension, memberPath, mergePalettes, mountSprites, mountStyle, normalizeLockOutputPaths, normalizeRefinementPalette, normalizeTerrainTiles, normalizeTileRules, openExternal, openInEditor, openProject, outliers, outputId, packSprites, packStyle, paletteDistance, parentAssetId, parseLock, parseTerrainDescriptions, parseWorkspace, pickHistory, pngSize, poll, portableOutputPath, prepareReview, primaryOutput, proportionsPayload, providerCredentialEnvs, providerFactory, pushTags, qualityFrameOutputPath, qualityRecordPath, quantizeToPalette, readArtifactBundleManifest, readHandEditCompanion, readQualityBaseline, recipeDigest, referencedHashes, refineAsset, refineFrameSet, refineQualityProfiles, registerProvider, remove, renderAsepriteSheet, renderGallery, renderGodotSpriteFrames, renderSalvageSheet, renderSheet, renderSheetDocument, requireApprovedQualitySources, requireBalance, requireDelete, requireList, requireRevisionReady, requireSelectCandidate, resolveEntryOutputs, resolveOutputPath, resolvePackInputs, resolveProject, resolveQualityInputs, resolveRecipe, resolveSpecEntryOutputs, resolveSpecOutputs, resolveSpecs, resolveStyleImages, resolveStyleOutputs, resumeActions, resumeCommandForStatus, retireGeneration, retryAfterMs, revertGeneration, runPicker, runSalvage, saveHandEdit, saveLock, saveWorkspace, scanAssets, selectEntryOutput, serveGallery, sha256, sha256File, shouldPersistSourceUrl, shouldRetry, slugify, snapshotQualityBaseline, sourceIsStem, sourceOutputPath, specHash, spendByUnit, startHandEdit, styleImagesBase64, submit, summarize, tagAdopted, terrainTileCount, tileFeatureOutputCount, tileVariationCount, tilesCost, toPortablePath, totalSpend, unzoomFile, upsert, validateCostEstimate, validateMedia, validateWorkspace, verifyArtifactBundle, verifyRecipe, withArtifactManifest, workspaceClaims, workspaceStatus, writeArtifactBundle, writeManagedArtifactBundle };