import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; import * as operations from "../models/operations/index.js"; import { Steps } from "./steps.js"; export declare class Workflows extends ClientSDK { private _steps?; get steps(): Steps; /** * Create a workflow * * @remarks * Creates a new workflow in the Novu Cloud environment */ create(createWorkflowDto: components.CreateWorkflowDto, idempotencyKey?: string | undefined, options?: RequestOptions): Promise; /** * List all workflows * * @remarks * Retrieves a list of workflows with optional filtering and pagination */ list(request: operations.WorkflowControllerSearchWorkflowsRequest, options?: RequestOptions): Promise; /** * Update a workflow * * @remarks * Updates the details of an existing workflow, here **workflowId** is the identifier of the workflow */ update(updateWorkflowDto: components.UpdateWorkflowDto, workflowId: string, idempotencyKey?: string | undefined, options?: RequestOptions): Promise; /** * Retrieve a workflow * * @remarks * Fetches details of a specific workflow by its unique identifier **workflowId** */ get(workflowId: string, environmentId?: string | undefined, idempotencyKey?: string | undefined, options?: RequestOptions): Promise; /** * Delete a workflow * * @remarks * Removes a specific workflow by its unique identifier **workflowId** */ delete(workflowId: string, idempotencyKey?: string | undefined, options?: RequestOptions): Promise; /** * Update a workflow * * @remarks * Partially updates a workflow by its unique identifier **workflowId** */ patch(patchWorkflowDto: components.PatchWorkflowDto, workflowId: string, idempotencyKey?: string | undefined, options?: RequestOptions): Promise; /** * Sync a workflow * * @remarks * Synchronizes a workflow to the target environment */ sync(syncWorkflowDto: components.SyncWorkflowDto, workflowId: string, idempotencyKey?: string | undefined, options?: RequestOptions): Promise; } //# sourceMappingURL=workflows.d.ts.map