import type { AndroidExecutionTarget } from "@qawolf/flow-targets"; import type { AndroidPresetLiteral } from "../../generated/dependencies.js"; import type { FlowApiReturnValue, FlowDefinition, LegacyFlowDefinition } from "../flowExportTypes.js"; import type { Dependencies } from "./dependencies.js"; import type { LaunchOptions } from "./runtime.js"; /** * An Android flow target or preset literal accepted by `flow(...)`. */ export type AndroidFlowTarget = AndroidExecutionTarget | AndroidPresetLiteral; export type AndroidLegacyFlowOptions = { launch?: false | undefined; target: AndroidFlowTarget; }; export type AndroidLaunchFlowOptions = { launch: true | LaunchOptions; target: AndroidFlowTarget; }; /** * The accepted target input shape for an Android flow. */ export type AndroidFlowTargetInput = AndroidFlowTarget | AndroidLegacyFlowOptions | AndroidLaunchFlowOptions; /** * The legacy Android flow definition shape that still receives injected * context. */ export type AndroidLegacyFlowDefinition = LegacyFlowDefinition; /** * The executable definition returned by `flow(...)` for Android automation. */ export type AndroidFlowDefinition = FlowDefinition; /** * The public return type of the Android `flow(...)` API. */ export type AndroidFlowApiReturnValue = FlowApiReturnValue; export declare function getTarget(target: AndroidFlowTargetInput): AndroidFlowTarget; //# sourceMappingURL=flowTypes.d.ts.map