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