/** * A map from the local file path of a media asset ("assets/file.png"), to either: * - If the relevant app version has finished uploading all its assets: its * publicly accessible URL (https://i.redd.it/.png) * - If the relevant app version has not uploaded all its assets, or this is * from the CLI which doesn't know the public URLs for any assets: the * asset ID for the file as saved in dev-portal (NOT the media service ID). * UUIDv4. * Note that this may be `undefined` if the bundle is old and/or there are no * assets associated with the app. */ export type AssetMap = { [path: string]: string; }; export declare const ALLOWED_ASSET_EXTENSIONS: string[]; export declare const KILOBYTE = 1024; export declare const MEGABYTE: number; export declare const GIGABYTE: number; export declare const MAX_ASSET_FOLDER_SIZE_BYTES: number; export declare const MAX_ASSET_GIF_SIZE: number; export declare const MAX_ASSET_NON_GIF_SIZE: number; /** * Max file size for `marketingAssets.icon` in devvit.json. * This is limited by the maximum size of reddit profile pictures, which is 500 KB. */ export declare const MAX_DEVVIT_JSON_ICON_SIZE_BYTES: number; export declare function prettyPrintSize(bytes: number): string; //# sourceMappingURL=Assets.d.ts.map