import * as z from "zod/v3";
import { ClosedEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
/**
 * Filter chunks by processing status
 */
export declare const GetChunksCountStatus: {
    readonly Pending: "pending";
    readonly Processing: "processing";
    readonly Completed: "completed";
    readonly Failed: "failed";
    readonly Queued: "queued";
};
/**
 * Filter chunks by processing status
 */
export type GetChunksCountStatus = ClosedEnum<typeof GetChunksCountStatus>;
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?: GetChunksCountStatus | 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 GetChunksCountStatus$outboundSchema: z.ZodNativeEnum<typeof GetChunksCountStatus>;
/** @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;
/** @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;
/** @internal */
export declare const GetChunksCountResponseBody$inboundSchema: z.ZodType<GetChunksCountResponseBody, z.ZodTypeDef, unknown>;
export declare function getChunksCountResponseBodyFromJSON(jsonString: string): SafeParseResult<GetChunksCountResponseBody, SDKValidationError>;
//# sourceMappingURL=getchunkscount.d.ts.map