UNPKG

@k-msg/provider

Version:

Complete provider system with adapters and implementations for K-Message platform

14 lines (13 loc) 515 B
import { KMsgError, type Result } from "@k-msg/core"; import type { IWINVImageInput } from "./iwinv.internal.types"; export declare function resolveImageInput(options: unknown, providerId: string): Result<IWINVImageInput | undefined, KMsgError>; export declare function toImageBlob(input: IWINVImageInput): Promise<{ blob: Blob; filename: string; contentType: string; size: number; }>; export declare function resolveImageFilename(image: { filename: string; contentType: string; }): string;