@scandit/web-datacapture-id
Version:
Scandit Data Capture SDK for the Web
15 lines (14 loc) • 456 B
TypeScript
import { IdSide } from "../Enums";
import type { ImageInfoJSON } from "../SerializedTypes";
export declare class IdImages {
private json;
get face(): string | null;
get frame(): string | null;
private static fromJSON;
getFrame(side: IdSide): string | null;
getCroppedDocument(side: IdSide): string | null;
toJSONObject(): ImageInfoJSON;
}
export interface PrivateIdImages {
fromJSON(json: ImageInfoJSON | null): IdImages;
}