import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { RawResponse, RawResponse$Outbound } from "./rawresponse.js";
import { Task, Task$Outbound } from "./task.js";
export type TaskResult = {
    data?: Array<Task> | null | undefined;
    raw?: Array<RawResponse> | null | undefined;
};
/** @internal */
export declare const TaskResult$inboundSchema: z.ZodType<TaskResult, z.ZodTypeDef, unknown>;
/** @internal */
export type TaskResult$Outbound = {
    data?: Array<Task$Outbound> | null | undefined;
    raw?: Array<RawResponse$Outbound> | null | undefined;
};
/** @internal */
export declare const TaskResult$outboundSchema: z.ZodType<TaskResult$Outbound, z.ZodTypeDef, TaskResult>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace TaskResult$ {
    /** @deprecated use `TaskResult$inboundSchema` instead. */
    const inboundSchema: z.ZodType<TaskResult, z.ZodTypeDef, unknown>;
    /** @deprecated use `TaskResult$outboundSchema` instead. */
    const outboundSchema: z.ZodType<TaskResult$Outbound, z.ZodTypeDef, TaskResult>;
    /** @deprecated use `TaskResult$Outbound` instead. */
    type Outbound = TaskResult$Outbound;
}
export declare function taskResultToJSON(taskResult: TaskResult): string;
export declare function taskResultFromJSON(jsonString: string): SafeParseResult<TaskResult, SDKValidationError>;
//# sourceMappingURL=taskresult.d.ts.map