phaser4-rex-plugins
Version:
10 lines (8 loc) • 411 B
TypeScript
export default ExtractData;
type BasicDataType = number | string;
type DictDataType = { [key: string]: BasicDataType } | { [key: string]: DictDataType } | { [key: string]: ListDateType };
type ListDateType = (BasicDataType | ListDateType | DictDataType)[];
type DataType = BasicDataType | DictDataType | ListDateType;
declare function ExtractData(
pngBuffer: Uint8Array,
): DataType | Uint8Array;