import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { PartDelta } from "./partdelta.js";
export type PartDoneEventData = {
    /**
     * Unique identifier for this part. Matches the partId from part.delta events.
     */
    partId: string;
    part: PartDelta;
};
/**
 * Emitted when a part has been fully streamed. Contains the complete part with all content.
 */
export type PartDoneEvent = {
    type: "part.done";
    /**
     * ISO timestamp of when the event occurred
     */
    timestamp: string;
    data: PartDoneEventData;
};
/** @internal */
export declare const PartDoneEventData$inboundSchema: z.ZodType<PartDoneEventData, z.ZodTypeDef, unknown>;
export declare function partDoneEventDataFromJSON(jsonString: string): SafeParseResult<PartDoneEventData, SDKValidationError>;
/** @internal */
export declare const PartDoneEvent$inboundSchema: z.ZodType<PartDoneEvent, z.ZodTypeDef, unknown>;
export declare function partDoneEventFromJSON(jsonString: string): SafeParseResult<PartDoneEvent, SDKValidationError>;
//# sourceMappingURL=partdoneevent.d.ts.map