securityos/node_modules/ani-cursor/dist/parser.d.ts

22 lines
489 B
TypeScript
Raw Permalink Normal View History

2024-09-06 15:32:35 +00:00
declare type AniMetadata = {
cbSize: number;
nFrames: number;
nSteps: number;
iWidth: number;
iHeight: number;
iBitCount: number;
nPlanes: number;
iDispRate: number;
bfAttributes: number;
};
declare type ParsedAni = {
rate: number[] | null;
seq: number[] | null;
images: Uint8Array[];
metadata: AniMetadata;
artist: string | null;
title: string | null;
};
export declare function parseAni(arr: Uint8Array): ParsedAni;
export {};