/** * Sign-Magnitude Encoding Utilities * For STS3215 motor homing offset encoding/decoding */ /** * Encode a signed integer using sign-magnitude format * Bit at sign_bit_index represents sign (0=positive, 1=negative) * Lower bits represent magnitude */ export declare function encodeSignMagnitude(value: number, signBitIndex?: number): number; /** * Decode a sign-magnitude encoded value back to signed integer * Extracts sign bit and magnitude, then applies sign */ export declare function decodeSignMagnitude(encodedValue: number, signBitIndex?: number): number; //# sourceMappingURL=sign-magnitude.d.ts.map