import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type DeleteChunksRequestBody = {
    /**
     * Array of chunk IDs to delete
     */
    chunkIds: Array<string>;
};
export type DeleteChunksRequest = {
    /**
     * The unique identifier of the knowledge base
     */
    knowledgeId: string;
    /**
     * The unique identifier of the datasource.
     */
    datasourceId: string;
    requestBody?: DeleteChunksRequestBody | undefined;
};
/**
 * Chunks deletion result
 */
export type DeleteChunksResponseBody = {
    /**
     * Number of chunks successfully deleted
     */
    deletedCount: number;
    /**
     * Array of chunk IDs that failed to delete
     */
    failedIds?: Array<string> | undefined;
};
/** @internal */
export declare const DeleteChunksRequestBody$inboundSchema: z.ZodType<DeleteChunksRequestBody, z.ZodTypeDef, unknown>;
/** @internal */
export type DeleteChunksRequestBody$Outbound = {
    chunk_ids: Array<string>;
};
/** @internal */
export declare const DeleteChunksRequestBody$outboundSchema: z.ZodType<DeleteChunksRequestBody$Outbound, z.ZodTypeDef, DeleteChunksRequestBody>;
export declare function deleteChunksRequestBodyToJSON(deleteChunksRequestBody: DeleteChunksRequestBody): string;
export declare function deleteChunksRequestBodyFromJSON(jsonString: string): SafeParseResult<DeleteChunksRequestBody, SDKValidationError>;
/** @internal */
export declare const DeleteChunksRequest$inboundSchema: z.ZodType<DeleteChunksRequest, z.ZodTypeDef, unknown>;
/** @internal */
export type DeleteChunksRequest$Outbound = {
    knowledge_id: string;
    datasource_id: string;
    RequestBody?: DeleteChunksRequestBody$Outbound | undefined;
};
/** @internal */
export declare const DeleteChunksRequest$outboundSchema: z.ZodType<DeleteChunksRequest$Outbound, z.ZodTypeDef, DeleteChunksRequest>;
export declare function deleteChunksRequestToJSON(deleteChunksRequest: DeleteChunksRequest): string;
export declare function deleteChunksRequestFromJSON(jsonString: string): SafeParseResult<DeleteChunksRequest, SDKValidationError>;
/** @internal */
export declare const DeleteChunksResponseBody$inboundSchema: z.ZodType<DeleteChunksResponseBody, z.ZodTypeDef, unknown>;
/** @internal */
export type DeleteChunksResponseBody$Outbound = {
    deleted_count: number;
    failed_ids?: Array<string> | undefined;
};
/** @internal */
export declare const DeleteChunksResponseBody$outboundSchema: z.ZodType<DeleteChunksResponseBody$Outbound, z.ZodTypeDef, DeleteChunksResponseBody>;
export declare function deleteChunksResponseBodyToJSON(deleteChunksResponseBody: DeleteChunksResponseBody): string;
export declare function deleteChunksResponseBodyFromJSON(jsonString: string): SafeParseResult<DeleteChunksResponseBody, SDKValidationError>;
//# sourceMappingURL=deletechunks.d.ts.map