import * as z from "zod/v3";
import { ClosedEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import * as components from "../components/index.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type ListConversationsRequest = {
    /**
     * Maximum number of conversations to return. Range: 1-100. Default: 10.
     */
    limit?: number | undefined;
    /**
     * Pagination cursor. Returns conversations created after the specified conversation ID.
     */
    startingAfter?: string | undefined;
    /**
     * Pagination cursor. Returns conversations created before the specified conversation ID.
     */
    endingBefore?: string | undefined;
    /**
     * Filter by parent entity. When specified, returns only conversations associated with this entity. When omitted, returns standalone conversations.
     */
    entityId?: string | undefined;
};
export declare const ListConversationsObject: {
    readonly List: "list";
};
export type ListConversationsObject = ClosedEnum<typeof ListConversationsObject>;
/**
 * Successfully retrieved the list of conversations. Returns a paginated response containing conversation objects.
 */
export type ListConversationsResponseBody = {
    object: ListConversationsObject;
    data: Array<components.ConversationResponse>;
    hasMore: boolean;
};
/** @internal */
export type ListConversationsRequest$Outbound = {
    limit?: number | undefined;
    startingAfter?: string | undefined;
    endingBefore?: string | undefined;
    entityId?: string | undefined;
};
/** @internal */
export declare const ListConversationsRequest$outboundSchema: z.ZodType<ListConversationsRequest$Outbound, z.ZodTypeDef, ListConversationsRequest>;
export declare function listConversationsRequestToJSON(listConversationsRequest: ListConversationsRequest): string;
/** @internal */
export declare const ListConversationsObject$inboundSchema: z.ZodNativeEnum<typeof ListConversationsObject>;
/** @internal */
export declare const ListConversationsResponseBody$inboundSchema: z.ZodType<ListConversationsResponseBody, z.ZodTypeDef, unknown>;
export declare function listConversationsResponseBodyFromJSON(jsonString: string): SafeParseResult<ListConversationsResponseBody, SDKValidationError>;
//# sourceMappingURL=listconversations.d.ts.map