import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { Thread, Thread$Outbound } from "../components/thread.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type GetV2ThreadsRequest = {
    recordId?: string | undefined;
    object?: string | undefined;
    entryId?: string | undefined;
    list?: string | undefined;
    limit?: number | undefined;
    offset?: number | undefined;
};
/**
 * Success
 */
export type GetV2ThreadsResponse = {
    data: Array<Thread>;
};
/** @internal */
export declare const GetV2ThreadsRequest$inboundSchema: z.ZodType<GetV2ThreadsRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type GetV2ThreadsRequest$Outbound = {
    record_id?: string | undefined;
    object?: string | undefined;
    entry_id?: string | undefined;
    list?: string | undefined;
    limit?: number | undefined;
    offset?: number | undefined;
};
/** @internal */
export declare const GetV2ThreadsRequest$outboundSchema: z.ZodType<GetV2ThreadsRequest$Outbound, z.ZodTypeDef, GetV2ThreadsRequest>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetV2ThreadsRequest$ {
    /** @deprecated use `GetV2ThreadsRequest$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetV2ThreadsRequest, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetV2ThreadsRequest$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetV2ThreadsRequest$Outbound, z.ZodTypeDef, GetV2ThreadsRequest>;
    /** @deprecated use `GetV2ThreadsRequest$Outbound` instead. */
    type Outbound = GetV2ThreadsRequest$Outbound;
}
export declare function getV2ThreadsRequestToJSON(getV2ThreadsRequest: GetV2ThreadsRequest): string;
export declare function getV2ThreadsRequestFromJSON(jsonString: string): SafeParseResult<GetV2ThreadsRequest, SDKValidationError>;
/** @internal */
export declare const GetV2ThreadsResponse$inboundSchema: z.ZodType<GetV2ThreadsResponse, z.ZodTypeDef, unknown>;
/** @internal */
export type GetV2ThreadsResponse$Outbound = {
    data: Array<Thread$Outbound>;
};
/** @internal */
export declare const GetV2ThreadsResponse$outboundSchema: z.ZodType<GetV2ThreadsResponse$Outbound, z.ZodTypeDef, GetV2ThreadsResponse>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace GetV2ThreadsResponse$ {
    /** @deprecated use `GetV2ThreadsResponse$inboundSchema` instead. */
    const inboundSchema: z.ZodType<GetV2ThreadsResponse, z.ZodTypeDef, unknown>;
    /** @deprecated use `GetV2ThreadsResponse$outboundSchema` instead. */
    const outboundSchema: z.ZodType<GetV2ThreadsResponse$Outbound, z.ZodTypeDef, GetV2ThreadsResponse>;
    /** @deprecated use `GetV2ThreadsResponse$Outbound` instead. */
    type Outbound = GetV2ThreadsResponse$Outbound;
}
export declare function getV2ThreadsResponseToJSON(getV2ThreadsResponse: GetV2ThreadsResponse): string;
export declare function getV2ThreadsResponseFromJSON(jsonString: string): SafeParseResult<GetV2ThreadsResponse, SDKValidationError>;
//# sourceMappingURL=getv2threads.d.ts.map