Project Files
mcp-shims.d.ts
/**
* TypeScript shims for .js ESM imports used at runtime.
* They point the TS type system to the corresponding .ts sources under services/.
*/
declare module "services/schemas.js" {
export * from "services/schemas";
}
declare module "services/defaultParams.js" {
export * from "services/defaultParams";
}
// Minimal ambient typings for @squoosh/lib to satisfy TS7016
declare module "@squoosh/lib" {
export class ImagePool {
constructor(options?: any);
ingestImage(input: Buffer | Uint8Array | ArrayBuffer | string): any;
// Note: actual API exposes image.decoded/encodedWith; we keep it loose here
}
}
// Minimal ambient typings for pngjs (used by cross-platform tensor↔PNG helper CLIs)
declare module "pngjs" {
export const PNG: any;
}