import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { ResponseMetadata, ResponseMetadata$Outbound } from "./responsemetadata.js";
import { WorkflowList, WorkflowList$Outbound } from "./workflowlist.js";
/**
 * A list of workflows has been successfully returned.
 */
export type WorkflowsListSuccess = {
    /**
     * A list of workflows
     */
    data?: WorkflowList | undefined;
    /**
     * Control information and metadata for the response.
     */
    responseMetadata?: ResponseMetadata | undefined;
};
/** @internal */
export declare const WorkflowsListSuccess$inboundSchema: z.ZodType<WorkflowsListSuccess, z.ZodTypeDef, unknown>;
/** @internal */
export type WorkflowsListSuccess$Outbound = {
    data?: WorkflowList$Outbound | undefined;
    response_metadata?: ResponseMetadata$Outbound | undefined;
};
/** @internal */
export declare const WorkflowsListSuccess$outboundSchema: z.ZodType<WorkflowsListSuccess$Outbound, z.ZodTypeDef, WorkflowsListSuccess>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace WorkflowsListSuccess$ {
    /** @deprecated use `WorkflowsListSuccess$inboundSchema` instead. */
    const inboundSchema: z.ZodType<WorkflowsListSuccess, z.ZodTypeDef, unknown>;
    /** @deprecated use `WorkflowsListSuccess$outboundSchema` instead. */
    const outboundSchema: z.ZodType<WorkflowsListSuccess$Outbound, z.ZodTypeDef, WorkflowsListSuccess>;
    /** @deprecated use `WorkflowsListSuccess$Outbound` instead. */
    type Outbound = WorkflowsListSuccess$Outbound;
}
export declare function workflowsListSuccessToJSON(workflowsListSuccess: WorkflowsListSuccess): string;
export declare function workflowsListSuccessFromJSON(jsonString: string): SafeParseResult<WorkflowsListSuccess, SDKValidationError>;
//# sourceMappingURL=workflowslistsuccess.d.ts.map