import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type GetChunksCountRequestBody = {
    /**
     * Search query to find chunks by text content
     */
    q?: string | undefined;
    /**
     * Filter chunks by enabled status
     */
    enabled?: boolean | undefined;
    /**
     * Filter chunks by processing status
     */
    status?: string | undefined;
};
export type GetChunksCountRequest = {
    /**
     * The unique identifier of the knowledge base
     */
    knowledgeId: string;
    /**
     * The unique identifier of the datasource.
     */
    datasourceId: string;
    requestBody?: GetChunksCountRequestBody | undefined;
};
/**
 * Chunks count
 */
export type GetChunksCountResponseBody = {
    count: number;
};
/** @internal */
export declare const GetChunksCountRequestBody$inboundSchema: z.ZodType<GetChunksCountRequestBody, z.ZodTypeDef, unknown>;
/** @internal */
export type GetChunksCountRequestBody$Outbound = {
    q: string;
    enabled?: boolean | undefined;
    status?: string | undefined;
};
/** @internal */
export declare const GetChunksCountRequestBody$outboundSchema: z.ZodType<GetChunksCountRequestBody$Outbound, z.ZodTypeDef, GetChunksCountRequestBody>;
export declare function getChunksCountRequestBodyToJSON(getChunksCountRequestBody: GetChunksCountRequestBody): string;
export declare function getChunksCountRequestBodyFromJSON(jsonString: string): SafeParseResult<GetChunksCountRequestBody, SDKValidationError>;
/** @internal */
export declare const GetChunksCountRequest$inboundSchema: z.ZodType<GetChunksCountRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type GetChunksCountRequest$Outbound = {
    knowledge_id: string;
    datasource_id: string;
    RequestBody?: GetChunksCountRequestBody$Outbound | undefined;
};
/** @internal */
export declare const GetChunksCountRequest$outboundSchema: z.ZodType<GetChunksCountRequest$Outbound, z.ZodTypeDef, GetChunksCountRequest>;
export declare function getChunksCountRequestToJSON(getChunksCountRequest: GetChunksCountRequest): string;
export declare function getChunksCountRequestFromJSON(jsonString: string): SafeParseResult<GetChunksCountRequest, SDKValidationError>;
/** @internal */
export declare const GetChunksCountResponseBody$inboundSchema: z.ZodType<GetChunksCountResponseBody, z.ZodTypeDef, unknown>;
/** @internal */
export type GetChunksCountResponseBody$Outbound = {
    count: number;
};
/** @internal */
export declare const GetChunksCountResponseBody$outboundSchema: z.ZodType<GetChunksCountResponseBody$Outbound, z.ZodTypeDef, GetChunksCountResponseBody>;
export declare function getChunksCountResponseBodyToJSON(getChunksCountResponseBody: GetChunksCountResponseBody): string;
export declare function getChunksCountResponseBodyFromJSON(jsonString: string): SafeParseResult<GetChunksCountResponseBody, SDKValidationError>;
//# sourceMappingURL=getchunkscount.d.ts.map