pixelkiln 0.47.0 → 0.48.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
@@ -185,6 +185,11 @@ interface ResolvedProviderInputs {
185
185
  /** Stable JSON value hashed instead of runtime-only paths when present. */
186
186
  identity?: unknown;
187
187
  }
188
+ /** What a provider actually billed for a completed job, next to the submit-time estimate. */
189
+ interface BilledAmount {
190
+ amount: number;
191
+ unit: CostUnit;
192
+ }
188
193
  /** Terminal and non-terminal states a queued job can be observed in. */
189
194
  type JobState = {
190
195
  status: "processing";
@@ -194,6 +199,7 @@ type JobState = {
194
199
  status: "review";
195
200
  candidateUrls: string[];
196
201
  metadata?: ProviderMetadata;
202
+ billed?: BilledAmount | null;
197
203
  } | {
198
204
  status: "review-set";
199
205
  objectId: string;
@@ -201,6 +207,7 @@ type JobState = {
201
207
  sources: OutputSource[];
202
208
  fps: number;
203
209
  metadata?: ProviderMetadata;
210
+ billed?: BilledAmount | null;
204
211
  } | {
205
212
  status: "ready";
206
213
  objectId: string;
@@ -210,6 +217,8 @@ type JobState = {
210
217
  sources?: OutputSource[];
211
218
  /** Preserved under the provider's namespace in the lockfile. */
212
219
  metadata?: ProviderMetadata;
220
+ /** What the provider actually billed, read on completion; null when unknown. */
221
+ billed?: BilledAmount | null;
213
222
  } | {
214
223
  status: "failed";
215
224
  error: string;
@@ -6387,6 +6396,17 @@ declare const LockHistoryEntrySchema: z.ZodObject<{
6387
6396
  downloadedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
6388
6397
  cost: z.ZodDefault<z.ZodNumber>;
6389
6398
  costUnit: z.ZodDefault<z.ZodString>;
6399
+ /** What the provider actually billed, read from the completed job; null when never read. */
6400
+ billed: z.ZodDefault<z.ZodNullable<z.ZodObject<{
6401
+ amount: z.ZodNumber;
6402
+ unit: z.ZodString;
6403
+ }, "strip", z.ZodTypeAny, {
6404
+ unit: string;
6405
+ amount: number;
6406
+ }, {
6407
+ unit: string;
6408
+ amount: number;
6409
+ }>>>;
6390
6410
  provider: z.ZodDefault<z.ZodString>;
6391
6411
  postprocess: z.ZodOptional<z.ZodObject<{
6392
6412
  palette: z.ZodOptional<z.ZodObject<{
@@ -6447,6 +6467,10 @@ declare const LockHistoryEntrySchema: z.ZodObject<{
6447
6467
  downloadedAt: string | null;
6448
6468
  cost: number;
6449
6469
  costUnit: string;
6470
+ billed: {
6471
+ unit: string;
6472
+ amount: number;
6473
+ } | null;
6450
6474
  retiredAt: string;
6451
6475
  postprocess?: {
6452
6476
  palette?: {
@@ -6485,6 +6509,10 @@ declare const LockHistoryEntrySchema: z.ZodObject<{
6485
6509
  downloadedAt?: string | null | undefined;
6486
6510
  cost?: number | undefined;
6487
6511
  costUnit?: string | undefined;
6512
+ billed?: {
6513
+ unit: string;
6514
+ amount: number;
6515
+ } | null | undefined;
6488
6516
  postprocess?: {
6489
6517
  palette?: {
6490
6518
  colors: string[];
@@ -6626,6 +6654,23 @@ declare const LockEntrySchema: z.ZodObject<{
6626
6654
  cost: z.ZodDefault<z.ZodNumber>;
6627
6655
  /** Unit for `cost`. Defaults preserve pre-unit PixelLab lockfiles. */
6628
6656
  costUnit: z.ZodDefault<z.ZodString>;
6657
+ /**
6658
+ * What the provider actually billed, read from the completed job rather
6659
+ * than estimated at submit time. Null until a poll reads it, and for a
6660
+ * provider or generator `poll` does not read it from at all; `cost` above
6661
+ * is still what a wave budget spends against, since the real number is
6662
+ * only known after the fact.
6663
+ */
6664
+ billed: z.ZodDefault<z.ZodNullable<z.ZodObject<{
6665
+ amount: z.ZodNumber;
6666
+ unit: z.ZodString;
6667
+ }, "strip", z.ZodTypeAny, {
6668
+ unit: string;
6669
+ amount: number;
6670
+ }, {
6671
+ unit: string;
6672
+ amount: number;
6673
+ }>>>;
6629
6674
  /** Which provider produced this. Absent on entries written before providers. */
6630
6675
  provider: z.ZodDefault<z.ZodString>;
6631
6676
  /** Generations this entry replaced, newest first; see LockHistoryEntrySchema. */
@@ -6682,6 +6727,17 @@ declare const LockEntrySchema: z.ZodObject<{
6682
6727
  downloadedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
6683
6728
  cost: z.ZodDefault<z.ZodNumber>;
6684
6729
  costUnit: z.ZodDefault<z.ZodString>;
6730
+ /** What the provider actually billed, read from the completed job; null when never read. */
6731
+ billed: z.ZodDefault<z.ZodNullable<z.ZodObject<{
6732
+ amount: z.ZodNumber;
6733
+ unit: z.ZodString;
6734
+ }, "strip", z.ZodTypeAny, {
6735
+ unit: string;
6736
+ amount: number;
6737
+ }, {
6738
+ unit: string;
6739
+ amount: number;
6740
+ }>>>;
6685
6741
  provider: z.ZodDefault<z.ZodString>;
6686
6742
  postprocess: z.ZodOptional<z.ZodObject<{
6687
6743
  palette: z.ZodOptional<z.ZodObject<{
@@ -6742,6 +6798,10 @@ declare const LockEntrySchema: z.ZodObject<{
6742
6798
  downloadedAt: string | null;
6743
6799
  cost: number;
6744
6800
  costUnit: string;
6801
+ billed: {
6802
+ unit: string;
6803
+ amount: number;
6804
+ } | null;
6745
6805
  retiredAt: string;
6746
6806
  postprocess?: {
6747
6807
  palette?: {
@@ -6780,6 +6840,10 @@ declare const LockEntrySchema: z.ZodObject<{
6780
6840
  downloadedAt?: string | null | undefined;
6781
6841
  cost?: number | undefined;
6782
6842
  costUnit?: string | undefined;
6843
+ billed?: {
6844
+ unit: string;
6845
+ amount: number;
6846
+ } | null | undefined;
6783
6847
  postprocess?: {
6784
6848
  palette?: {
6785
6849
  colors: string[];
@@ -6858,6 +6922,10 @@ declare const LockEntrySchema: z.ZodObject<{
6858
6922
  downloadedAt: string | null;
6859
6923
  cost: number;
6860
6924
  costUnit: string;
6925
+ billed: {
6926
+ unit: string;
6927
+ amount: number;
6928
+ } | null;
6861
6929
  styleId: string;
6862
6930
  assetId: string;
6863
6931
  reviewObjectId: string | null;
@@ -6891,6 +6959,10 @@ declare const LockEntrySchema: z.ZodObject<{
6891
6959
  downloadedAt: string | null;
6892
6960
  cost: number;
6893
6961
  costUnit: string;
6962
+ billed: {
6963
+ unit: string;
6964
+ amount: number;
6965
+ } | null;
6894
6966
  retiredAt: string;
6895
6967
  postprocess?: {
6896
6968
  palette?: {
@@ -6966,6 +7038,10 @@ declare const LockEntrySchema: z.ZodObject<{
6966
7038
  downloadedAt?: string | null | undefined;
6967
7039
  cost?: number | undefined;
6968
7040
  costUnit?: string | undefined;
7041
+ billed?: {
7042
+ unit: string;
7043
+ amount: number;
7044
+ } | null | undefined;
6969
7045
  postprocess?: {
6970
7046
  palette?: {
6971
7047
  colors: string[];
@@ -6995,6 +7071,10 @@ declare const LockEntrySchema: z.ZodObject<{
6995
7071
  downloadedAt?: string | null | undefined;
6996
7072
  cost?: number | undefined;
6997
7073
  costUnit?: string | undefined;
7074
+ billed?: {
7075
+ unit: string;
7076
+ amount: number;
7077
+ } | null | undefined;
6998
7078
  postprocess?: {
6999
7079
  palette?: {
7000
7080
  colors: string[];
@@ -7147,6 +7227,23 @@ declare const LockSchema: z.ZodObject<{
7147
7227
  cost: z.ZodDefault<z.ZodNumber>;
7148
7228
  /** Unit for `cost`. Defaults preserve pre-unit PixelLab lockfiles. */
7149
7229
  costUnit: z.ZodDefault<z.ZodString>;
7230
+ /**
7231
+ * What the provider actually billed, read from the completed job rather
7232
+ * than estimated at submit time. Null until a poll reads it, and for a
7233
+ * provider or generator `poll` does not read it from at all; `cost` above
7234
+ * is still what a wave budget spends against, since the real number is
7235
+ * only known after the fact.
7236
+ */
7237
+ billed: z.ZodDefault<z.ZodNullable<z.ZodObject<{
7238
+ amount: z.ZodNumber;
7239
+ unit: z.ZodString;
7240
+ }, "strip", z.ZodTypeAny, {
7241
+ unit: string;
7242
+ amount: number;
7243
+ }, {
7244
+ unit: string;
7245
+ amount: number;
7246
+ }>>>;
7150
7247
  /** Which provider produced this. Absent on entries written before providers. */
7151
7248
  provider: z.ZodDefault<z.ZodString>;
7152
7249
  /** Generations this entry replaced, newest first; see LockHistoryEntrySchema. */
@@ -7203,6 +7300,17 @@ declare const LockSchema: z.ZodObject<{
7203
7300
  downloadedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
7204
7301
  cost: z.ZodDefault<z.ZodNumber>;
7205
7302
  costUnit: z.ZodDefault<z.ZodString>;
7303
+ /** What the provider actually billed, read from the completed job; null when never read. */
7304
+ billed: z.ZodDefault<z.ZodNullable<z.ZodObject<{
7305
+ amount: z.ZodNumber;
7306
+ unit: z.ZodString;
7307
+ }, "strip", z.ZodTypeAny, {
7308
+ unit: string;
7309
+ amount: number;
7310
+ }, {
7311
+ unit: string;
7312
+ amount: number;
7313
+ }>>>;
7206
7314
  provider: z.ZodDefault<z.ZodString>;
7207
7315
  postprocess: z.ZodOptional<z.ZodObject<{
7208
7316
  palette: z.ZodOptional<z.ZodObject<{
@@ -7263,6 +7371,10 @@ declare const LockSchema: z.ZodObject<{
7263
7371
  downloadedAt: string | null;
7264
7372
  cost: number;
7265
7373
  costUnit: string;
7374
+ billed: {
7375
+ unit: string;
7376
+ amount: number;
7377
+ } | null;
7266
7378
  retiredAt: string;
7267
7379
  postprocess?: {
7268
7380
  palette?: {
@@ -7301,6 +7413,10 @@ declare const LockSchema: z.ZodObject<{
7301
7413
  downloadedAt?: string | null | undefined;
7302
7414
  cost?: number | undefined;
7303
7415
  costUnit?: string | undefined;
7416
+ billed?: {
7417
+ unit: string;
7418
+ amount: number;
7419
+ } | null | undefined;
7304
7420
  postprocess?: {
7305
7421
  palette?: {
7306
7422
  colors: string[];
@@ -7379,6 +7495,10 @@ declare const LockSchema: z.ZodObject<{
7379
7495
  downloadedAt: string | null;
7380
7496
  cost: number;
7381
7497
  costUnit: string;
7498
+ billed: {
7499
+ unit: string;
7500
+ amount: number;
7501
+ } | null;
7382
7502
  styleId: string;
7383
7503
  assetId: string;
7384
7504
  reviewObjectId: string | null;
@@ -7412,6 +7532,10 @@ declare const LockSchema: z.ZodObject<{
7412
7532
  downloadedAt: string | null;
7413
7533
  cost: number;
7414
7534
  costUnit: string;
7535
+ billed: {
7536
+ unit: string;
7537
+ amount: number;
7538
+ } | null;
7415
7539
  retiredAt: string;
7416
7540
  postprocess?: {
7417
7541
  palette?: {
@@ -7487,6 +7611,10 @@ declare const LockSchema: z.ZodObject<{
7487
7611
  downloadedAt?: string | null | undefined;
7488
7612
  cost?: number | undefined;
7489
7613
  costUnit?: string | undefined;
7614
+ billed?: {
7615
+ unit: string;
7616
+ amount: number;
7617
+ } | null | undefined;
7490
7618
  postprocess?: {
7491
7619
  palette?: {
7492
7620
  colors: string[];
@@ -7516,6 +7644,10 @@ declare const LockSchema: z.ZodObject<{
7516
7644
  downloadedAt?: string | null | undefined;
7517
7645
  cost?: number | undefined;
7518
7646
  costUnit?: string | undefined;
7647
+ billed?: {
7648
+ unit: string;
7649
+ amount: number;
7650
+ } | null | undefined;
7519
7651
  postprocess?: {
7520
7652
  palette?: {
7521
7653
  colors: string[];
@@ -7575,6 +7707,10 @@ declare const LockSchema: z.ZodObject<{
7575
7707
  downloadedAt: string | null;
7576
7708
  cost: number;
7577
7709
  costUnit: string;
7710
+ billed: {
7711
+ unit: string;
7712
+ amount: number;
7713
+ } | null;
7578
7714
  styleId: string;
7579
7715
  assetId: string;
7580
7716
  reviewObjectId: string | null;
@@ -7608,6 +7744,10 @@ declare const LockSchema: z.ZodObject<{
7608
7744
  downloadedAt: string | null;
7609
7745
  cost: number;
7610
7746
  costUnit: string;
7747
+ billed: {
7748
+ unit: string;
7749
+ amount: number;
7750
+ } | null;
7611
7751
  retiredAt: string;
7612
7752
  postprocess?: {
7613
7753
  palette?: {
@@ -7686,6 +7826,10 @@ declare const LockSchema: z.ZodObject<{
7686
7826
  downloadedAt?: string | null | undefined;
7687
7827
  cost?: number | undefined;
7688
7828
  costUnit?: string | undefined;
7829
+ billed?: {
7830
+ unit: string;
7831
+ amount: number;
7832
+ } | null | undefined;
7689
7833
  postprocess?: {
7690
7834
  palette?: {
7691
7835
  colors: string[];
@@ -7715,6 +7859,10 @@ declare const LockSchema: z.ZodObject<{
7715
7859
  downloadedAt?: string | null | undefined;
7716
7860
  cost?: number | undefined;
7717
7861
  costUnit?: string | undefined;
7862
+ billed?: {
7863
+ unit: string;
7864
+ amount: number;
7865
+ } | null | undefined;
7718
7866
  postprocess?: {
7719
7867
  palette?: {
7720
7868
  colors: string[];
@@ -8205,6 +8353,7 @@ declare const CharacterSchema: z.ZodObject<{
8205
8353
  type PixelLabCharacter = z.infer<typeof CharacterSchema>;
8206
8354
  type PixelLabCharacterAnimation = z.infer<typeof CharacterAnimationSchema>;
8207
8355
  interface PixelLabUsage {
8356
+ type?: string | null;
8208
8357
  generations?: number | null;
8209
8358
  usd?: number | null;
8210
8359
  }
@@ -8243,6 +8392,7 @@ declare class PixelLabClient {
8243
8392
  object_id: string;
8244
8393
  status: string;
8245
8394
  n_frames: number;
8395
+ background_job_id: string;
8246
8396
  }>;
8247
8397
  /**
8248
8398
  * Arbitrary width x height. Returns a single result, no selection step.
@@ -8262,6 +8412,7 @@ declare class PixelLabClient {
8262
8412
  }): Promise<{
8263
8413
  object_id: string;
8264
8414
  status: string;
8415
+ background_job_id: string;
8265
8416
  }>;
8266
8417
  /**
8267
8418
  * Draws a whole tile set in one call: many variations, or a connectable
@@ -8444,6 +8595,7 @@ declare class PixelLabClient {
8444
8595
  id: string;
8445
8596
  status: string;
8446
8597
  last_response?: Record<string, unknown> | null;
8598
+ usage?: PixelLabUsage | null;
8447
8599
  }>;
8448
8600
  /** Remove one animation group from a character, or one direction of it. */
8449
8601
  deleteCharacterAnimations(characterId: string, selector: {
@@ -8521,6 +8673,13 @@ declare class PixelLabProvider implements Provider {
8521
8673
  jobId: string;
8522
8674
  metadata?: Record<string, unknown>;
8523
8675
  }>;
8676
+ /**
8677
+ * What a background job actually billed, once its own record is still
8678
+ * around to ask; see `billedFromUsage`. A stale or already-cleaned-up job
8679
+ * (a map object's record expires in hours; see `pollMap`) means "not
8680
+ * known", not a failure worth surfacing.
8681
+ */
8682
+ private billedForJob;
8524
8683
  poll(jobId: string, generator: Generator, context?: PollContext): Promise<JobState>;
8525
8684
  /**
8526
8685
  * Map objects need their own path because the `/map-objects/{id}` record is
@@ -11514,6 +11673,10 @@ interface SheetAtlas {
11514
11673
  width: number;
11515
11674
  height: number;
11516
11675
  };
11676
+ cell: {
11677
+ width: number;
11678
+ height: number;
11679
+ };
11517
11680
  frames: PackedFrame[];
11518
11681
  sets?: AtlasSet[];
11519
11682
  }
@@ -11526,7 +11689,10 @@ interface SheetFormatOptions {
11526
11689
  /**
11527
11690
  * Aseprite's sheet JSON in its "hash" layout: frames keyed by name, in atlas
11528
11691
  * order, with `frameTags` spanning each set. A single sprite is one frame
11529
- * with the default duration; a frame set's members carry `1000 / fps`.
11692
+ * with the default duration; a frame set's members carry `1000 / fps`. A
11693
+ * frame pack placed off the cell's top-left (a `character` style's
11694
+ * bottom-centred pivot) is recorded as a genuine trim: `sourceSize` is the
11695
+ * cell and `spriteSourceSize` is the frame's offset within it.
11530
11696
  */
11531
11697
  declare function renderAsepriteSheet(atlas: SheetAtlas, opts: SheetFormatOptions): string;
11532
11698
  /**
@@ -11558,6 +11724,13 @@ interface PackedFrame {
11558
11724
  y: number;
11559
11725
  width: number;
11560
11726
  height: number;
11727
+ /**
11728
+ * This frame's offset from its cell's top-left corner. Omitted (equivalent
11729
+ * to zero) under the default top-left layout; set under `pivot:
11730
+ * "bottom-center"` when the sprite is smaller than the cell.
11731
+ */
11732
+ offsetX?: number;
11733
+ offsetY?: number;
11561
11734
  }
11562
11735
  interface PackedSheet {
11563
11736
  png: Buffer;
@@ -11600,10 +11773,22 @@ interface PackedSheet {
11600
11773
  *
11601
11774
  * The cell is the largest sprite in the set. Assets can override width/height
11602
11775
  * individually, so assuming uniformity would silently clip the odd one out.
11603
- * Smaller sprites are placed at the cell's top-left and their real dimensions
11604
- * recorded, rather than being centred: centring would bake half-pixel offsets
11605
- * into odd-sized differences, and a consumer that ignores the atlas and slices
11606
- * on the cell grid still gets a correct, if padded, sprite.
11776
+ * By default a smaller sprite is placed at the cell's top-left with its real
11777
+ * dimensions recorded, rather than being centred: centring would bake
11778
+ * asymmetric offsets into odd-sized differences, and a consumer that ignores
11779
+ * the atlas and slices on the cell grid still gets a correct, if padded,
11780
+ * sprite.
11781
+ *
11782
+ * `pivot: "bottom-center"` overrides that for a `character` style, whose
11783
+ * members (a base's rotations, its states, its animations) are meant to
11784
+ * stand on one floor. A v3 loop with an `endFrame` can return frames taller
11785
+ * than the rotations (`docs/ENDPOINTS.md`, "Characters, measured"), and
11786
+ * top-left placement would float the shorter frame above the taller one once
11787
+ * an engine treats every cell the same height. Bottom-centring anchors feet
11788
+ * instead of corners, at the same asymmetric-split cost on an odd-width
11789
+ * difference. The offset from the cell's top-left is recorded per frame as
11790
+ * `offsetX`/`offsetY` (omitted when zero), which `renderAsepriteSheet`
11791
+ * reflects as a genuine trim.
11607
11792
  */
11608
11793
  interface SpriteInput {
11609
11794
  /** The name this sprite is looked up by in the atlas. */
@@ -11640,11 +11825,14 @@ declare function resolvePackInputs(raw: unknown, inputsFilePath: string): Sprite
11640
11825
  declare function packSprites(inputs: SpriteInput[], options?: {
11641
11826
  columns?: number;
11642
11827
  order?: "id" | "input";
11828
+ pivot?: "top-left" | "bottom-center";
11643
11829
  }): PackedSheet;
11644
11830
  declare function packStyle(lock: Lock, styleId: string, manifestDir: string, options?: {
11645
11831
  columns?: number;
11646
11832
  outputRoles?: string[];
11647
11833
  primaryOnly?: boolean;
11834
+ /** Forwarded to `packSprites` as is; the caller decides from the style's generator. */
11835
+ pivot?: "top-left" | "bottom-center";
11648
11836
  /** Approved manifest quality outputs keyed by asset id or role-qualified frame id. */
11649
11837
  sourceOverrides?: Record<string, string>;
11650
11838
  /**
@@ -12262,6 +12450,11 @@ interface GalleryItem {
12262
12450
  fps: number | null;
12263
12451
  cost: number;
12264
12452
  costUnit: string;
12453
+ /** What the provider actually billed, read from the completed job; null when never read. */
12454
+ billed: {
12455
+ amount: number;
12456
+ unit: string;
12457
+ } | null;
12265
12458
  /** Offline estimate for the current spec; null for undeclared entries. */
12266
12459
  estimatedCost: number | null;
12267
12460
  candidates: number | null;
@@ -12467,6 +12660,10 @@ interface GalleryGeneration {
12467
12660
  height: number;
12468
12661
  cost: number;
12469
12662
  costUnit: string;
12663
+ billed: {
12664
+ amount: number;
12665
+ unit: string;
12666
+ } | null;
12470
12667
  submittedAt: string | null;
12471
12668
  downloadedAt: string | null;
12472
12669
  retiredAt: string;
@@ -13778,4 +13975,4 @@ interface WorkspaceStatusReport {
13778
13975
  */
13779
13976
  declare function workspaceStatus(ws: Workspace, dir: string): Promise<WorkspaceStatusReport>;
13780
13977
 
13781
- 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, AssetSchema, type AtlasSet, type AuditEvaluation, type AuditThresholds, type AuditViolation, type Balance, type BalanceChange, type BalanceInfo, type Base64Image, 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, type FakeOptions, FakeProvider, type FetchResult, 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 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, 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 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 ResolvedCharacter, type ResolvedMirror, type ResolvedOutput, type ResolvedProviderInputs, type ResolvedProviderOptions, type ResolvedQualityInput, type ResolvedQualityProfile, type ResolvedReferenceImage, type ResolvedRevision, 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 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 TilesetExport, type TilesetExportOptions, type TilesetFormat, UnsupportedCapabilityError, 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, detachHandEdit, detectMediaType, doctor, editorBaseUrl, editorDir, editorRoute, editorStatus, editorToolsRoot, errorCode, evaluateAudit, exitCodeFor, expectedOutputPath, exportTileset, fallbackOutputRole, fetchAssets, fetchWithRetry, findOrphans, formatCost, frameSetFps, galleryMediaId, galleryMediaRoute, generationCost, groupOrphansByStyle, handEditBase, handEditBases, handEditCompanionPath, handEditMembers, handEditPath, handEditProjectPath, hex, historyAfterReplacing, historyLimit, idFromPrompt, imageMetadata, inspectCaches, inspectQualityProfile, inspectRevisionReadiness, installEditor, installRecipe, isFrameSetEntry, isMemberSetEntry, isSensitiveSourceUrl, listBundledRecipes, loadClaims, loadLock, loadManifest, loadSiblingManifests, loadWorkspace, lockKey, matchOrphanStyle, measureBalanceChange, measureDecodedImageQuality, measureImageQuality, mediaExtension, mediaTypeFromExtension, memberPath, mergePalettes, mountSprites, mountStyle, normalizeLockOutputPaths, normalizeRefinementPalette, normalizeTileRules, openExternal, openInEditor, openProject, outliers, outputId, packSprites, packStyle, paletteDistance, parentAssetId, parseLock, 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, tileFeatureOutputCount, tileVariationCount, tilesCost, toPortablePath, totalSpend, upsert, validateCostEstimate, validateMedia, validateWorkspace, verifyArtifactBundle, verifyRecipe, withArtifactManifest, workspaceClaims, workspaceStatus, writeArtifactBundle, writeManagedArtifactBundle };
13978
+ 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, 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, type FakeOptions, FakeProvider, type FetchResult, 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 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, 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 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 ResolvedCharacter, type ResolvedMirror, type ResolvedOutput, type ResolvedProviderInputs, type ResolvedProviderOptions, type ResolvedQualityInput, type ResolvedQualityProfile, type ResolvedReferenceImage, type ResolvedRevision, 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 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 TilesetExport, type TilesetExportOptions, type TilesetFormat, UnsupportedCapabilityError, 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, detachHandEdit, detectMediaType, doctor, editorBaseUrl, editorDir, editorRoute, editorStatus, editorToolsRoot, errorCode, evaluateAudit, exitCodeFor, expectedOutputPath, exportTileset, fallbackOutputRole, fetchAssets, fetchWithRetry, findOrphans, formatCost, frameSetFps, galleryMediaId, galleryMediaRoute, generationCost, groupOrphansByStyle, handEditBase, handEditBases, handEditCompanionPath, handEditMembers, handEditPath, handEditProjectPath, hex, historyAfterReplacing, historyLimit, idFromPrompt, imageMetadata, inspectCaches, inspectQualityProfile, inspectRevisionReadiness, installEditor, installRecipe, isFrameSetEntry, isMemberSetEntry, isSensitiveSourceUrl, listBundledRecipes, loadClaims, loadLock, loadManifest, loadSiblingManifests, loadWorkspace, lockKey, matchOrphanStyle, measureBalanceChange, measureDecodedImageQuality, measureImageQuality, mediaExtension, mediaTypeFromExtension, memberPath, mergePalettes, mountSprites, mountStyle, normalizeLockOutputPaths, normalizeRefinementPalette, normalizeTileRules, openExternal, openInEditor, openProject, outliers, outputId, packSprites, packStyle, paletteDistance, parentAssetId, parseLock, 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, tileFeatureOutputCount, tileVariationCount, tilesCost, toPortablePath, totalSpend, upsert, validateCostEstimate, validateMedia, validateWorkspace, verifyArtifactBundle, verifyRecipe, withArtifactManifest, workspaceClaims, workspaceStatus, writeArtifactBundle, writeManagedArtifactBundle };