@absolutejs/absolute 0.19.0-beta.181 → 0.19.0-beta.182

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.
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Client-safe image utilities — no node:fs, no Sharp, no Bun APIs.
3
+ * These can be imported in both server and client (browser) contexts.
4
+ */
5
+ export declare const DEFAULT_DEVICE_SIZES: number[];
6
+ export declare const DEFAULT_IMAGE_SIZES: number[];
7
+ export declare const DEFAULT_QUALITY = 75;
8
+ export declare const OPTIMIZATION_ENDPOINT = "/_absolute/image";
9
+ export declare const buildOptimizedUrl: (src: string, width: number, quality: number, basePath?: string) => string;
10
+ export declare const getAllSizes: (deviceSizes?: number[], imageSizes?: number[]) => number[];
11
+ export declare const generateSrcSet: (src: string, width: number | undefined, sizes: string | undefined, deviceSizes?: number[], imageSizes?: number[]) => string;
12
+ export declare const generateBlurSvg: (base64Thumbnail: string) => string;
@@ -1,6 +1,6 @@
1
1
  export * from './defineConfig';
2
2
  export * from './generateHeadElement';
3
- export * from './imageProcessing';
3
+ export * from './imageClient';
4
4
  export * from './jsonLd';
5
5
  export * from './getEnv';
6
6
  export * from './networking';
package/package.json CHANGED
@@ -204,5 +204,5 @@
204
204
  "typecheck": "bun run vue-tsc --noEmit"
205
205
  },
206
206
  "types": "./dist/src/index.d.ts",
207
- "version": "0.19.0-beta.181"
207
+ "version": "0.19.0-beta.182"
208
208
  }