import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js"; import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js"; import * as core from "../../../../core/index.js"; import * as Rulebricks from "../../../index.js"; export declare namespace FlowsClient { type Options = BaseClientOptions; interface RequestOptions extends BaseRequestOptions { } } /** * Operations for executing flows, which are sequences of rules and external actions */ export declare class FlowsClient { protected readonly _options: NormalizedClientOptionsWithAuth; constructor(options: FlowsClient.Options); /** * Execute a flow by its slug. * * @param {Rulebricks.ExecuteFlowsRequest} request * @param {FlowsClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Rulebricks.BadRequestError} * @throws {@link Rulebricks.InternalServerError} * * @example * await client.flows.execute({ * slug: "slug", * body: { * "name": "John Doe", * "age": 30, * "email": "jdoe@acme.co" * } * }) */ execute(request: Rulebricks.ExecuteFlowsRequest, requestOptions?: FlowsClient.RequestOptions): core.HttpResponsePromise; private __execute; }