import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type Static = { /** * The number of tokens that overlap between chunks. The default value is 400. Must not exceed half of max_chunk_size_tokens. */ chunkOverlapTokens: number; /** * The maximum number of tokens in each chunk. The default value is 800. The minimum value is 100 and the maximum value is 4096. */ maxChunkSizeTokens: number; }; /** * Customize your own chunking strategy by setting chunk size and chunk overlap. */ export type StaticChunkingStrategy = { /** * Always 'static'. */ type: "static"; static: Static; }; /** @internal */ export declare const Static$inboundSchema: z.ZodType; /** @internal */ export type Static$Outbound = { chunk_overlap_tokens: number; max_chunk_size_tokens: number; }; /** @internal */ export declare const Static$outboundSchema: z.ZodType; export declare function staticToJSON(value: Static): string; export declare function staticFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const StaticChunkingStrategy$inboundSchema: z.ZodType; /** @internal */ export type StaticChunkingStrategy$Outbound = { type: "static"; static: Static$Outbound; }; /** @internal */ export declare const StaticChunkingStrategy$outboundSchema: z.ZodType; export declare function staticChunkingStrategyToJSON(staticChunkingStrategy: StaticChunkingStrategy): string; export declare function staticChunkingStrategyFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=staticchunkingstrategy.d.ts.map