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 { WorkflowInstance, WorkflowInstance$Outbound } from "./workflowinstance.js";
export type WorkflowInstanceCollection = {
    /**
     * Array of workflow instances
     */
    data?: Array<WorkflowInstance> | undefined;
    /**
     * Control information and metadata for the response.
     */
    responseMetadata?: ResponseMetadata | undefined;
};
/** @internal */
export declare const WorkflowInstanceCollection$inboundSchema: z.ZodType<WorkflowInstanceCollection, z.ZodTypeDef, unknown>;
/** @internal */
export type WorkflowInstanceCollection$Outbound = {
    data?: Array<WorkflowInstance$Outbound> | undefined;
    response_metadata?: ResponseMetadata$Outbound | undefined;
};
/** @internal */
export declare const WorkflowInstanceCollection$outboundSchema: z.ZodType<WorkflowInstanceCollection$Outbound, z.ZodTypeDef, WorkflowInstanceCollection>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace WorkflowInstanceCollection$ {
    /** @deprecated use `WorkflowInstanceCollection$inboundSchema` instead. */
    const inboundSchema: z.ZodType<WorkflowInstanceCollection, z.ZodTypeDef, unknown>;
    /** @deprecated use `WorkflowInstanceCollection$outboundSchema` instead. */
    const outboundSchema: z.ZodType<WorkflowInstanceCollection$Outbound, z.ZodTypeDef, WorkflowInstanceCollection>;
    /** @deprecated use `WorkflowInstanceCollection$Outbound` instead. */
    type Outbound = WorkflowInstanceCollection$Outbound;
}
export declare function workflowInstanceCollectionToJSON(workflowInstanceCollection: WorkflowInstanceCollection): string;
export declare function workflowInstanceCollectionFromJSON(jsonString: string): SafeParseResult<WorkflowInstanceCollection, SDKValidationError>;
//# sourceMappingURL=workflowinstancecollection.d.ts.map