import type { IosExecutionTarget } from "@qawolf/flow-targets"; import type { IosPresetLiteral } 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 iOS flow target or preset literal accepted by `flow(...)`. */ export type IosFlowTarget = IosExecutionTarget | IosPresetLiteral; export type IosLegacyFlowOptions = { launch?: false | undefined; target: IosFlowTarget; }; export type IosLaunchFlowOptions = { launch: true | LaunchOptions; target: IosFlowTarget; }; /** * The accepted target input shape for an iOS flow. */ export type IosFlowTargetInput = IosFlowTarget | IosLegacyFlowOptions | IosLaunchFlowOptions; /** * The executable definition returned by `flow(...)` for iOS automation. */ export type IosFlowDefinition = FlowDefinition; /** * The legacy iOS flow definition shape that still receives injected context. */ export type IosLegacyFlowDefinition = LegacyFlowDefinition; /** * The public return type of the iOS `flow(...)` API. */ export type IosFlowApiReturnValue = FlowApiReturnValue; export declare function getTarget(target: IosFlowTargetInput): IosFlowTarget; //# sourceMappingURL=flowTypes.d.ts.map