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";
export type GetOneChunkRequest = {
    /**
     * The unique identifier of the chunk
     */
    chunkId: string;
    /**
     * The unique identifier of the data source
     */
    datasourceId: string;
    /**
     * The unique identifier of the knowledge base
     */
    knowledgeId: string;
};
export type GetOneChunkMetadata = string | number | boolean;
/**
 * The status of the chunk
 */
export declare const GetOneChunkStatus: {
    readonly Pending: "pending";
    readonly Processing: "processing";
    readonly Completed: "completed";
    readonly Failed: "failed";
    readonly Queued: "queued";
};
/**
 * The status of the chunk
 */
export type GetOneChunkStatus = ClosedEnum<typeof GetOneChunkStatus>;
/**
 * Chunk successfully retrieved
 */
export type GetOneChunkResponseBody = {
    /**
     * The unique identifier of the chunk
     */
    id: string;
    /**
     * The text content of the chunk
     */
    text: string;
    /**
     * Metadata of the chunk. Can include `page_number` or any other key-value pairs
     */
    metadata?: {
        [k: string]: string | number | boolean;
    } | undefined;
    /**
     * Whether the chunk is enabled
     */
    enabled: boolean;
    /**
     * The status of the chunk
     */
    status: GetOneChunkStatus;
    /**
     * The date and time the chunk was created
     */
    created: string;
    /**
     * The date and time the chunk was updated
     */
    updated: string;
    /**
     * The unique identifier of the user who created the chunk
     */
    createdById?: string | null | undefined;
    /**
     * The unique identifier of the user who updated the chunk
     */
    updateById?: string | null | undefined;
};
/** @internal */
export type GetOneChunkRequest$Outbound = {
    chunk_id: string;
    datasource_id: string;
    knowledge_id: string;
};
/** @internal */
export declare const GetOneChunkRequest$outboundSchema: z.ZodType<GetOneChunkRequest$Outbound, z.ZodTypeDef, GetOneChunkRequest>;
export declare function getOneChunkRequestToJSON(getOneChunkRequest: GetOneChunkRequest): string;
/** @internal */
export declare const GetOneChunkMetadata$inboundSchema: z.ZodType<GetOneChunkMetadata, z.ZodTypeDef, unknown>;
export declare function getOneChunkMetadataFromJSON(jsonString: string): SafeParseResult<GetOneChunkMetadata, SDKValidationError>;
/** @internal */
export declare const GetOneChunkStatus$inboundSchema: z.ZodNativeEnum<typeof GetOneChunkStatus>;
/** @internal */
export declare const GetOneChunkResponseBody$inboundSchema: z.ZodType<GetOneChunkResponseBody, z.ZodTypeDef, unknown>;
export declare function getOneChunkResponseBodyFromJSON(jsonString: string): SafeParseResult<GetOneChunkResponseBody, SDKValidationError>;
//# sourceMappingURL=getonechunk.d.ts.map