/** * Helpers for decoding GoTalk NOW's NSKeyedArchiver-encoded values. * * GoTalk NOW stores UIColor and UIFont objects inside `` tags as * binary property lists (NSKeyedArchiver). Rather than pulling in a full * bplist parser, we exploit the fact that the archived objects embed * human-readable ASCII representations of the component values, e.g. an * NSRGB colour appears as "0.908 0.355 0.522" and a font name appears as * "Futura-Medium". */ /** * Decode an NSKeyedArchiver-encoded UIColor into a #rrggbb hex string. * * NSRGB / NSCalibratedRGB colours store a human-readable "R G B [A]" string * (e.g. "0.908 0.355 0.522") inside the archive — this is the only encoding we * can reliably read without a full binary-plist parser. NSWhite and * UISystemColor values store their components as raw IEEE-754 floats, so we * return undefined for those rather than risk an incorrect colour. */ export declare function decodeNsColor(buffer: Uint8Array | Buffer | undefined): string | undefined; /** * Decode an NSKeyedArchiver-encoded UIFont into its family name. * Font size is encoded as a raw IEEE-754 float and is not extracted. */ export declare function decodeNsFont(buffer: Uint8Array | Buffer | undefined): { fontFamily?: string; };