Add capacitorjs runtime

This commit is contained in:
olcxja 2026-05-03 17:09:55 +02:00
commit f90c0e6c40
8362 changed files with 1502407 additions and 1 deletions

24
node_modules/@capacitor/assets/dist/input-asset.d.ts generated vendored Normal file
View file

@ -0,0 +1,24 @@
import sharp from 'sharp';
import type { AssetGenerator } from './asset-generator';
import type { AssetKind, Platform } from './definitions';
import { Format } from './definitions';
import type { OutputAsset } from './output-asset';
import type { Project } from './project';
/**
* An instance of an asset that we will use to generate
* a number of output assets.
*/
export declare class InputAsset {
path: string;
kind: AssetKind;
platform: Platform;
private filename;
width?: number;
height?: number;
private _sharp;
constructor(path: string, kind: AssetKind, platform: Platform);
pipeline(): sharp.Sharp | undefined;
format(): Format.Jpeg | Format.Png | Format.Svg | Format.Unknown;
load(): Promise<void>;
generate(strategy: AssetGenerator, project: Project): Promise<OutputAsset[]>;
}