import * as z from "zod/v4"; import { Result as SafeParseResult } from "../types/fp.js"; import { RFCDate } from "../types/rfcdate.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; /** * Enable SpaceXAI X (Twitter) search alongside native web search, with optional filters. Only applies to SpaceXAI endpoints with native search; omit to search the web only. X search is billed separately by SpaceXAI, per post and per user profile fetched. */ export type XSearchOptions = { /** * Only include posts from these X handles (max 20). Cannot be used with excluded_x_handles. */ allowedXHandles?: Array | undefined; /** * Analyze images attached to matching posts. */ enableImageUnderstanding?: boolean | undefined; /** * Analyze videos attached to matching posts. */ enableVideoUnderstanding?: boolean | undefined; /** * Exclude posts from these X handles (max 20). Cannot be used with allowed_x_handles. */ excludedXHandles?: Array | undefined; /** * Start of the post date range (ISO 8601 date, e.g. "2025-01-01"). */ fromDate?: RFCDate | undefined; /** * End of the post date range (ISO 8601 date, e.g. "2025-12-31"). */ toDate?: RFCDate | undefined; }; /** @internal */ export declare const XSearchOptions$inboundSchema: z.ZodType; /** @internal */ export type XSearchOptions$Outbound = { allowed_x_handles?: Array | undefined; enable_image_understanding?: boolean | undefined; enable_video_understanding?: boolean | undefined; excluded_x_handles?: Array | undefined; from_date?: string | undefined; to_date?: string | undefined; }; /** @internal */ export declare const XSearchOptions$outboundSchema: z.ZodType; export declare function xSearchOptionsToJSON(xSearchOptions: XSearchOptions): string; export declare function xSearchOptionsFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=xsearchoptions.d.ts.map