import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
/**
 * A structured data part containing JSON-serializable key-value pairs. Used for passing structured information between agents and tools.
 */
export type DataPart = {
    kind: "data";
    data: {
        [k: string]: any;
    };
    metadata?: {
        [k: string]: any;
    } | undefined;
};
/** @internal */
export declare const DataPart$inboundSchema: z.ZodType<DataPart, z.ZodTypeDef, unknown>;
export declare function dataPartFromJSON(jsonString: string): SafeParseResult<DataPart, SDKValidationError>;
//# sourceMappingURL=datapart.d.ts.map