frida-js
Version:
Pure-JS bindings to control Frida from node.js & browsers.
25 lines (24 loc) • 678 B
TypeScript
export type DBusVariantDict = Array<[key: string, value: DBusValue]>;
type DBusValue = [[{
type: 's';
}], [string]] | [[{
type: 'a';
child: [{
type: '{';
child: [{
type: 's';
}, {
type: 'v';
}];
}];
}], [DBusVariantDict]] | [[{
type: 'x';
}], [number, number | undefined]] | [[{
type: 't';
}], [number, number | undefined]];
export type NestedStringDict = {
[key: string]: string | NestedStringDict;
};
export declare function parseDBusValue(dbusValue: DBusValue): string | NestedStringDict;
export declare function parseDBusVariantDict(dbusDict: DBusVariantDict): NestedStringDict;
export {};