import { APIResource } from "../resource.js"; import * as Core from "../core.js"; import * as FlowRunStatesAPI from "./flow-run-states.js"; import * as Shared from "./shared.js"; export declare class FlowRunStates extends APIResource { /** * Get a flow run state by id. */ retrieve(id: string, params?: FlowRunStateRetrieveParams, options?: Core.RequestOptions): Core.APIPromise; retrieve(id: string, options?: Core.RequestOptions): Core.APIPromise; /** * Get states associated with a flow run. */ list(params: FlowRunStateListParams, options?: Core.RequestOptions): Core.APIPromise; } export type FlowRunStateListResponse = Array; export interface FlowRunStateRetrieveParams { 'x-prefect-api-version'?: string; } export interface FlowRunStateListParams { /** * Query param: */ flow_run_id: string; /** * Header param: */ 'x-prefect-api-version'?: string; } export declare namespace FlowRunStates { export import FlowRunStateListResponse = FlowRunStatesAPI.FlowRunStateListResponse; export import FlowRunStateRetrieveParams = FlowRunStatesAPI.FlowRunStateRetrieveParams; export import FlowRunStateListParams = FlowRunStatesAPI.FlowRunStateListParams; } //# sourceMappingURL=flow-run-states.d.ts.map