/** * Quest protection state. * * Wraps Meta's "Scriptable Testing Services" API (content://com.oculus.rc). * Meta's docs: https://developers.meta.com/horizon/documentation/unity/ts-scriptable-testing/ * * We use it to turn Quest protections (guardian, system dialogs, autosleep) * on or off so the headset can be driven from automation without falling * asleep. * * Shared between stay-awake and cast commands. Internal model is positive-form: * `true` means the protection is on (Quest in its normal state). Meta's wire * format is negative-form (`disable_*`); we translate at the parser and * builder boundaries. */ export interface QuestProtections { guardian: boolean; dialogs: boolean; autosleep: boolean; proximityClose: boolean; } /** * Build ADB args for SET_PROPERTY call. * `protectionsOn=true` restores normal Quest behavior; `false` turns * protections off so the headset stays awake for testing. */ export declare function buildSetPropertyArgs(pin: string, protectionsOn: boolean): string[]; /** * Parse GET_PROPERTY Bundle output into structured data. * Input wire format: "Bundle[{disable_guardian=true, set_proximity_close=true, ...}]" * Output is positive-form: a `disable_*=true` field maps to a positive flag of `false`. * Absent fields default to `true` (protection on / normal). */ export declare function parseQuestProtections(output: string): QuestProtections; /** * Call SET_PROPERTY. `protectionsOn=true` restores Quest to normal. */ export declare function setQuestProtections(pin: string, protectionsOn: boolean): Promise; /** * Call GET_PROPERTY and return parsed protections. */ export declare function getQuestProtections(): Promise; /** * Format protections for display. */ export declare function formatQuestProtections(props: QuestProtections): string; //# sourceMappingURL=quest-protections.d.ts.map