import { z } from 'zod';
export declare const A2ATaskStateSchema: z.ZodEnum<["pending", "running", "completed", "failed", "canceled", "rejected", "input-required"]>;
export declare const A2APartKindSchema: z.ZodEnum<["text", "file", "data"]>;
export declare const A2AMessageRoleSchema: z.ZodEnum<["user", "agent"]>;
export declare const A2ATransportSchema: z.ZodEnum<["jsonrpc", "rest", "grpc"]>;
export declare const TextPartSchema: z.ZodObject<{
    kind: z.ZodLiteral<"text">;
    text: z.ZodString;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
}, "strict", z.ZodTypeAny, {
    text: string;
    kind: "text";
    metadata?: Record<string, unknown> | undefined;
}, {
    text: string;
    kind: "text";
    metadata?: Record<string, unknown> | undefined;
}>;
export declare const FilePartSchema: z.ZodObject<{
    kind: z.ZodLiteral<"file">;
    file: z.ZodObject<{
        uri: z.ZodString;
        mimeType: z.ZodString;
        name: z.ZodOptional<z.ZodString>;
        bytes: z.ZodOptional<z.ZodString>;
    }, "strict", z.ZodTypeAny, {
        uri: string;
        mimeType: string;
        name?: string | undefined;
        bytes?: string | undefined;
    }, {
        uri: string;
        mimeType: string;
        name?: string | undefined;
        bytes?: string | undefined;
    }>;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
}, "strict", z.ZodTypeAny, {
    file: {
        uri: string;
        mimeType: string;
        name?: string | undefined;
        bytes?: string | undefined;
    };
    kind: "file";
    metadata?: Record<string, unknown> | undefined;
}, {
    file: {
        uri: string;
        mimeType: string;
        name?: string | undefined;
        bytes?: string | undefined;
    };
    kind: "file";
    metadata?: Record<string, unknown> | undefined;
}>;
export declare const DataPartSchema: z.ZodObject<{
    kind: z.ZodLiteral<"data">;
    data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
    mimeType: z.ZodOptional<z.ZodString>;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
}, "strict", z.ZodTypeAny, {
    data: Record<string, unknown>;
    kind: "data";
    metadata?: Record<string, unknown> | undefined;
    mimeType?: string | undefined;
}, {
    data: Record<string, unknown>;
    kind: "data";
    metadata?: Record<string, unknown> | undefined;
    mimeType?: string | undefined;
}>;
export declare const A2APartSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
    kind: z.ZodLiteral<"text">;
    text: z.ZodString;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
}, "strict", z.ZodTypeAny, {
    text: string;
    kind: "text";
    metadata?: Record<string, unknown> | undefined;
}, {
    text: string;
    kind: "text";
    metadata?: Record<string, unknown> | undefined;
}>, z.ZodObject<{
    kind: z.ZodLiteral<"file">;
    file: z.ZodObject<{
        uri: z.ZodString;
        mimeType: z.ZodString;
        name: z.ZodOptional<z.ZodString>;
        bytes: z.ZodOptional<z.ZodString>;
    }, "strict", z.ZodTypeAny, {
        uri: string;
        mimeType: string;
        name?: string | undefined;
        bytes?: string | undefined;
    }, {
        uri: string;
        mimeType: string;
        name?: string | undefined;
        bytes?: string | undefined;
    }>;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
}, "strict", z.ZodTypeAny, {
    file: {
        uri: string;
        mimeType: string;
        name?: string | undefined;
        bytes?: string | undefined;
    };
    kind: "file";
    metadata?: Record<string, unknown> | undefined;
}, {
    file: {
        uri: string;
        mimeType: string;
        name?: string | undefined;
        bytes?: string | undefined;
    };
    kind: "file";
    metadata?: Record<string, unknown> | undefined;
}>, z.ZodObject<{
    kind: z.ZodLiteral<"data">;
    data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
    mimeType: z.ZodOptional<z.ZodString>;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
}, "strict", z.ZodTypeAny, {
    data: Record<string, unknown>;
    kind: "data";
    metadata?: Record<string, unknown> | undefined;
    mimeType?: string | undefined;
}, {
    data: Record<string, unknown>;
    kind: "data";
    metadata?: Record<string, unknown> | undefined;
    mimeType?: string | undefined;
}>]>;
export declare const A2AMessageSchema: z.ZodObject<{
    role: z.ZodEnum<["user", "agent"]>;
    parts: z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
        kind: z.ZodLiteral<"text">;
        text: z.ZodString;
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    }, "strict", z.ZodTypeAny, {
        text: string;
        kind: "text";
        metadata?: Record<string, unknown> | undefined;
    }, {
        text: string;
        kind: "text";
        metadata?: Record<string, unknown> | undefined;
    }>, z.ZodObject<{
        kind: z.ZodLiteral<"file">;
        file: z.ZodObject<{
            uri: z.ZodString;
            mimeType: z.ZodString;
            name: z.ZodOptional<z.ZodString>;
            bytes: z.ZodOptional<z.ZodString>;
        }, "strict", z.ZodTypeAny, {
            uri: string;
            mimeType: string;
            name?: string | undefined;
            bytes?: string | undefined;
        }, {
            uri: string;
            mimeType: string;
            name?: string | undefined;
            bytes?: string | undefined;
        }>;
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    }, "strict", z.ZodTypeAny, {
        file: {
            uri: string;
            mimeType: string;
            name?: string | undefined;
            bytes?: string | undefined;
        };
        kind: "file";
        metadata?: Record<string, unknown> | undefined;
    }, {
        file: {
            uri: string;
            mimeType: string;
            name?: string | undefined;
            bytes?: string | undefined;
        };
        kind: "file";
        metadata?: Record<string, unknown> | undefined;
    }>, z.ZodObject<{
        kind: z.ZodLiteral<"data">;
        data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
        mimeType: z.ZodOptional<z.ZodString>;
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    }, "strict", z.ZodTypeAny, {
        data: Record<string, unknown>;
        kind: "data";
        metadata?: Record<string, unknown> | undefined;
        mimeType?: string | undefined;
    }, {
        data: Record<string, unknown>;
        kind: "data";
        metadata?: Record<string, unknown> | undefined;
        mimeType?: string | undefined;
    }>]>, "many">;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
}, "strict", z.ZodTypeAny, {
    role: "user" | "agent";
    parts: ({
        text: string;
        kind: "text";
        metadata?: Record<string, unknown> | undefined;
    } | {
        file: {
            uri: string;
            mimeType: string;
            name?: string | undefined;
            bytes?: string | undefined;
        };
        kind: "file";
        metadata?: Record<string, unknown> | undefined;
    } | {
        data: Record<string, unknown>;
        kind: "data";
        metadata?: Record<string, unknown> | undefined;
        mimeType?: string | undefined;
    })[];
    metadata?: Record<string, unknown> | undefined;
}, {
    role: "user" | "agent";
    parts: ({
        text: string;
        kind: "text";
        metadata?: Record<string, unknown> | undefined;
    } | {
        file: {
            uri: string;
            mimeType: string;
            name?: string | undefined;
            bytes?: string | undefined;
        };
        kind: "file";
        metadata?: Record<string, unknown> | undefined;
    } | {
        data: Record<string, unknown>;
        kind: "data";
        metadata?: Record<string, unknown> | undefined;
        mimeType?: string | undefined;
    })[];
    metadata?: Record<string, unknown> | undefined;
}>;
export declare const A2ATaskStatusSchema: z.ZodObject<{
    state: z.ZodEnum<["pending", "running", "completed", "failed", "canceled", "rejected", "input-required"]>;
    message: z.ZodOptional<z.ZodObject<{
        role: z.ZodEnum<["user", "agent"]>;
        parts: z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
            kind: z.ZodLiteral<"text">;
            text: z.ZodString;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        }, "strict", z.ZodTypeAny, {
            text: string;
            kind: "text";
            metadata?: Record<string, unknown> | undefined;
        }, {
            text: string;
            kind: "text";
            metadata?: Record<string, unknown> | undefined;
        }>, z.ZodObject<{
            kind: z.ZodLiteral<"file">;
            file: z.ZodObject<{
                uri: z.ZodString;
                mimeType: z.ZodString;
                name: z.ZodOptional<z.ZodString>;
                bytes: z.ZodOptional<z.ZodString>;
            }, "strict", z.ZodTypeAny, {
                uri: string;
                mimeType: string;
                name?: string | undefined;
                bytes?: string | undefined;
            }, {
                uri: string;
                mimeType: string;
                name?: string | undefined;
                bytes?: string | undefined;
            }>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        }, "strict", z.ZodTypeAny, {
            file: {
                uri: string;
                mimeType: string;
                name?: string | undefined;
                bytes?: string | undefined;
            };
            kind: "file";
            metadata?: Record<string, unknown> | undefined;
        }, {
            file: {
                uri: string;
                mimeType: string;
                name?: string | undefined;
                bytes?: string | undefined;
            };
            kind: "file";
            metadata?: Record<string, unknown> | undefined;
        }>, z.ZodObject<{
            kind: z.ZodLiteral<"data">;
            data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
            mimeType: z.ZodOptional<z.ZodString>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        }, "strict", z.ZodTypeAny, {
            data: Record<string, unknown>;
            kind: "data";
            metadata?: Record<string, unknown> | undefined;
            mimeType?: string | undefined;
        }, {
            data: Record<string, unknown>;
            kind: "data";
            metadata?: Record<string, unknown> | undefined;
            mimeType?: string | undefined;
        }>]>, "many">;
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    }, "strict", z.ZodTypeAny, {
        role: "user" | "agent";
        parts: ({
            text: string;
            kind: "text";
            metadata?: Record<string, unknown> | undefined;
        } | {
            file: {
                uri: string;
                mimeType: string;
                name?: string | undefined;
                bytes?: string | undefined;
            };
            kind: "file";
            metadata?: Record<string, unknown> | undefined;
        } | {
            data: Record<string, unknown>;
            kind: "data";
            metadata?: Record<string, unknown> | undefined;
            mimeType?: string | undefined;
        })[];
        metadata?: Record<string, unknown> | undefined;
    }, {
        role: "user" | "agent";
        parts: ({
            text: string;
            kind: "text";
            metadata?: Record<string, unknown> | undefined;
        } | {
            file: {
                uri: string;
                mimeType: string;
                name?: string | undefined;
                bytes?: string | undefined;
            };
            kind: "file";
            metadata?: Record<string, unknown> | undefined;
        } | {
            data: Record<string, unknown>;
            kind: "data";
            metadata?: Record<string, unknown> | undefined;
            mimeType?: string | undefined;
        })[];
        metadata?: Record<string, unknown> | undefined;
    }>>;
    timestamp: z.ZodOptional<z.ZodString>;
}, "strict", z.ZodTypeAny, {
    state: "pending" | "running" | "completed" | "failed" | "rejected" | "canceled" | "input-required";
    message?: {
        role: "user" | "agent";
        parts: ({
            text: string;
            kind: "text";
            metadata?: Record<string, unknown> | undefined;
        } | {
            file: {
                uri: string;
                mimeType: string;
                name?: string | undefined;
                bytes?: string | undefined;
            };
            kind: "file";
            metadata?: Record<string, unknown> | undefined;
        } | {
            data: Record<string, unknown>;
            kind: "data";
            metadata?: Record<string, unknown> | undefined;
            mimeType?: string | undefined;
        })[];
        metadata?: Record<string, unknown> | undefined;
    } | undefined;
    timestamp?: string | undefined;
}, {
    state: "pending" | "running" | "completed" | "failed" | "rejected" | "canceled" | "input-required";
    message?: {
        role: "user" | "agent";
        parts: ({
            text: string;
            kind: "text";
            metadata?: Record<string, unknown> | undefined;
        } | {
            file: {
                uri: string;
                mimeType: string;
                name?: string | undefined;
                bytes?: string | undefined;
            };
            kind: "file";
            metadata?: Record<string, unknown> | undefined;
        } | {
            data: Record<string, unknown>;
            kind: "data";
            metadata?: Record<string, unknown> | undefined;
            mimeType?: string | undefined;
        })[];
        metadata?: Record<string, unknown> | undefined;
    } | undefined;
    timestamp?: string | undefined;
}>;
export declare const A2AArtifactSchema: z.ZodObject<{
    artifactId: z.ZodString;
    name: z.ZodOptional<z.ZodString>;
    description: z.ZodOptional<z.ZodString>;
    parts: z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
        kind: z.ZodLiteral<"text">;
        text: z.ZodString;
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    }, "strict", z.ZodTypeAny, {
        text: string;
        kind: "text";
        metadata?: Record<string, unknown> | undefined;
    }, {
        text: string;
        kind: "text";
        metadata?: Record<string, unknown> | undefined;
    }>, z.ZodObject<{
        kind: z.ZodLiteral<"file">;
        file: z.ZodObject<{
            uri: z.ZodString;
            mimeType: z.ZodString;
            name: z.ZodOptional<z.ZodString>;
            bytes: z.ZodOptional<z.ZodString>;
        }, "strict", z.ZodTypeAny, {
            uri: string;
            mimeType: string;
            name?: string | undefined;
            bytes?: string | undefined;
        }, {
            uri: string;
            mimeType: string;
            name?: string | undefined;
            bytes?: string | undefined;
        }>;
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    }, "strict", z.ZodTypeAny, {
        file: {
            uri: string;
            mimeType: string;
            name?: string | undefined;
            bytes?: string | undefined;
        };
        kind: "file";
        metadata?: Record<string, unknown> | undefined;
    }, {
        file: {
            uri: string;
            mimeType: string;
            name?: string | undefined;
            bytes?: string | undefined;
        };
        kind: "file";
        metadata?: Record<string, unknown> | undefined;
    }>, z.ZodObject<{
        kind: z.ZodLiteral<"data">;
        data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
        mimeType: z.ZodOptional<z.ZodString>;
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    }, "strict", z.ZodTypeAny, {
        data: Record<string, unknown>;
        kind: "data";
        metadata?: Record<string, unknown> | undefined;
        mimeType?: string | undefined;
    }, {
        data: Record<string, unknown>;
        kind: "data";
        metadata?: Record<string, unknown> | undefined;
        mimeType?: string | undefined;
    }>]>, "many">;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
}, "strict", z.ZodTypeAny, {
    parts: ({
        text: string;
        kind: "text";
        metadata?: Record<string, unknown> | undefined;
    } | {
        file: {
            uri: string;
            mimeType: string;
            name?: string | undefined;
            bytes?: string | undefined;
        };
        kind: "file";
        metadata?: Record<string, unknown> | undefined;
    } | {
        data: Record<string, unknown>;
        kind: "data";
        metadata?: Record<string, unknown> | undefined;
        mimeType?: string | undefined;
    })[];
    artifactId: string;
    metadata?: Record<string, unknown> | undefined;
    name?: string | undefined;
    description?: string | undefined;
}, {
    parts: ({
        text: string;
        kind: "text";
        metadata?: Record<string, unknown> | undefined;
    } | {
        file: {
            uri: string;
            mimeType: string;
            name?: string | undefined;
            bytes?: string | undefined;
        };
        kind: "file";
        metadata?: Record<string, unknown> | undefined;
    } | {
        data: Record<string, unknown>;
        kind: "data";
        metadata?: Record<string, unknown> | undefined;
        mimeType?: string | undefined;
    })[];
    artifactId: string;
    metadata?: Record<string, unknown> | undefined;
    name?: string | undefined;
    description?: string | undefined;
}>;
export declare const A2AMessageSendSchema: z.ZodObject<{
    message: z.ZodObject<{
        role: z.ZodEnum<["user", "agent"]>;
        parts: z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
            kind: z.ZodLiteral<"text">;
            text: z.ZodString;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        }, "strict", z.ZodTypeAny, {
            text: string;
            kind: "text";
            metadata?: Record<string, unknown> | undefined;
        }, {
            text: string;
            kind: "text";
            metadata?: Record<string, unknown> | undefined;
        }>, z.ZodObject<{
            kind: z.ZodLiteral<"file">;
            file: z.ZodObject<{
                uri: z.ZodString;
                mimeType: z.ZodString;
                name: z.ZodOptional<z.ZodString>;
                bytes: z.ZodOptional<z.ZodString>;
            }, "strict", z.ZodTypeAny, {
                uri: string;
                mimeType: string;
                name?: string | undefined;
                bytes?: string | undefined;
            }, {
                uri: string;
                mimeType: string;
                name?: string | undefined;
                bytes?: string | undefined;
            }>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        }, "strict", z.ZodTypeAny, {
            file: {
                uri: string;
                mimeType: string;
                name?: string | undefined;
                bytes?: string | undefined;
            };
            kind: "file";
            metadata?: Record<string, unknown> | undefined;
        }, {
            file: {
                uri: string;
                mimeType: string;
                name?: string | undefined;
                bytes?: string | undefined;
            };
            kind: "file";
            metadata?: Record<string, unknown> | undefined;
        }>, z.ZodObject<{
            kind: z.ZodLiteral<"data">;
            data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
            mimeType: z.ZodOptional<z.ZodString>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        }, "strict", z.ZodTypeAny, {
            data: Record<string, unknown>;
            kind: "data";
            metadata?: Record<string, unknown> | undefined;
            mimeType?: string | undefined;
        }, {
            data: Record<string, unknown>;
            kind: "data";
            metadata?: Record<string, unknown> | undefined;
            mimeType?: string | undefined;
        }>]>, "many">;
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    }, "strict", z.ZodTypeAny, {
        role: "user" | "agent";
        parts: ({
            text: string;
            kind: "text";
            metadata?: Record<string, unknown> | undefined;
        } | {
            file: {
                uri: string;
                mimeType: string;
                name?: string | undefined;
                bytes?: string | undefined;
            };
            kind: "file";
            metadata?: Record<string, unknown> | undefined;
        } | {
            data: Record<string, unknown>;
            kind: "data";
            metadata?: Record<string, unknown> | undefined;
            mimeType?: string | undefined;
        })[];
        metadata?: Record<string, unknown> | undefined;
    }, {
        role: "user" | "agent";
        parts: ({
            text: string;
            kind: "text";
            metadata?: Record<string, unknown> | undefined;
        } | {
            file: {
                uri: string;
                mimeType: string;
                name?: string | undefined;
                bytes?: string | undefined;
            };
            kind: "file";
            metadata?: Record<string, unknown> | undefined;
        } | {
            data: Record<string, unknown>;
            kind: "data";
            metadata?: Record<string, unknown> | undefined;
            mimeType?: string | undefined;
        })[];
        metadata?: Record<string, unknown> | undefined;
    }>;
    id: z.ZodOptional<z.ZodString>;
    contextId: z.ZodOptional<z.ZodString>;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
}, "strict", z.ZodTypeAny, {
    message: {
        role: "user" | "agent";
        parts: ({
            text: string;
            kind: "text";
            metadata?: Record<string, unknown> | undefined;
        } | {
            file: {
                uri: string;
                mimeType: string;
                name?: string | undefined;
                bytes?: string | undefined;
            };
            kind: "file";
            metadata?: Record<string, unknown> | undefined;
        } | {
            data: Record<string, unknown>;
            kind: "data";
            metadata?: Record<string, unknown> | undefined;
            mimeType?: string | undefined;
        })[];
        metadata?: Record<string, unknown> | undefined;
    };
    metadata?: Record<string, unknown> | undefined;
    id?: string | undefined;
    contextId?: string | undefined;
}, {
    message: {
        role: "user" | "agent";
        parts: ({
            text: string;
            kind: "text";
            metadata?: Record<string, unknown> | undefined;
        } | {
            file: {
                uri: string;
                mimeType: string;
                name?: string | undefined;
                bytes?: string | undefined;
            };
            kind: "file";
            metadata?: Record<string, unknown> | undefined;
        } | {
            data: Record<string, unknown>;
            kind: "data";
            metadata?: Record<string, unknown> | undefined;
            mimeType?: string | undefined;
        })[];
        metadata?: Record<string, unknown> | undefined;
    };
    metadata?: Record<string, unknown> | undefined;
    id?: string | undefined;
    contextId?: string | undefined;
}>;
export declare const A2ATaskGetSchema: z.ZodObject<{
    id: z.ZodString;
    includeHistory: z.ZodOptional<z.ZodBoolean>;
}, "strict", z.ZodTypeAny, {
    id: string;
    includeHistory?: boolean | undefined;
}, {
    id: string;
    includeHistory?: boolean | undefined;
}>;
export declare const A2ATaskListSchema: z.ZodObject<{
    contextId: z.ZodOptional<z.ZodString>;
    state: z.ZodOptional<z.ZodEnum<["pending", "running", "completed", "failed", "canceled", "rejected", "input-required"]>>;
    limit: z.ZodDefault<z.ZodNumber>;
    cursor: z.ZodOptional<z.ZodString>;
}, "strict", z.ZodTypeAny, {
    limit: number;
    state?: "pending" | "running" | "completed" | "failed" | "rejected" | "canceled" | "input-required" | undefined;
    contextId?: string | undefined;
    cursor?: string | undefined;
}, {
    limit?: number | undefined;
    state?: "pending" | "running" | "completed" | "failed" | "rejected" | "canceled" | "input-required" | undefined;
    contextId?: string | undefined;
    cursor?: string | undefined;
}>;
export declare const A2ATaskCancelSchema: z.ZodObject<{
    id: z.ZodString;
}, "strict", z.ZodTypeAny, {
    id: string;
}, {
    id: string;
}>;
export declare const A2ATaskSchema: z.ZodObject<{
    id: z.ZodString;
    contextId: z.ZodOptional<z.ZodString>;
    status: z.ZodObject<{
        state: z.ZodEnum<["pending", "running", "completed", "failed", "canceled", "rejected", "input-required"]>;
        message: z.ZodOptional<z.ZodObject<{
            role: z.ZodEnum<["user", "agent"]>;
            parts: z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
                kind: z.ZodLiteral<"text">;
                text: z.ZodString;
                metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            }, "strict", z.ZodTypeAny, {
                text: string;
                kind: "text";
                metadata?: Record<string, unknown> | undefined;
            }, {
                text: string;
                kind: "text";
                metadata?: Record<string, unknown> | undefined;
            }>, z.ZodObject<{
                kind: z.ZodLiteral<"file">;
                file: z.ZodObject<{
                    uri: z.ZodString;
                    mimeType: z.ZodString;
                    name: z.ZodOptional<z.ZodString>;
                    bytes: z.ZodOptional<z.ZodString>;
                }, "strict", z.ZodTypeAny, {
                    uri: string;
                    mimeType: string;
                    name?: string | undefined;
                    bytes?: string | undefined;
                }, {
                    uri: string;
                    mimeType: string;
                    name?: string | undefined;
                    bytes?: string | undefined;
                }>;
                metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            }, "strict", z.ZodTypeAny, {
                file: {
                    uri: string;
                    mimeType: string;
                    name?: string | undefined;
                    bytes?: string | undefined;
                };
                kind: "file";
                metadata?: Record<string, unknown> | undefined;
            }, {
                file: {
                    uri: string;
                    mimeType: string;
                    name?: string | undefined;
                    bytes?: string | undefined;
                };
                kind: "file";
                metadata?: Record<string, unknown> | undefined;
            }>, z.ZodObject<{
                kind: z.ZodLiteral<"data">;
                data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
                mimeType: z.ZodOptional<z.ZodString>;
                metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            }, "strict", z.ZodTypeAny, {
                data: Record<string, unknown>;
                kind: "data";
                metadata?: Record<string, unknown> | undefined;
                mimeType?: string | undefined;
            }, {
                data: Record<string, unknown>;
                kind: "data";
                metadata?: Record<string, unknown> | undefined;
                mimeType?: string | undefined;
            }>]>, "many">;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        }, "strict", z.ZodTypeAny, {
            role: "user" | "agent";
            parts: ({
                text: string;
                kind: "text";
                metadata?: Record<string, unknown> | undefined;
            } | {
                file: {
                    uri: string;
                    mimeType: string;
                    name?: string | undefined;
                    bytes?: string | undefined;
                };
                kind: "file";
                metadata?: Record<string, unknown> | undefined;
            } | {
                data: Record<string, unknown>;
                kind: "data";
                metadata?: Record<string, unknown> | undefined;
                mimeType?: string | undefined;
            })[];
            metadata?: Record<string, unknown> | undefined;
        }, {
            role: "user" | "agent";
            parts: ({
                text: string;
                kind: "text";
                metadata?: Record<string, unknown> | undefined;
            } | {
                file: {
                    uri: string;
                    mimeType: string;
                    name?: string | undefined;
                    bytes?: string | undefined;
                };
                kind: "file";
                metadata?: Record<string, unknown> | undefined;
            } | {
                data: Record<string, unknown>;
                kind: "data";
                metadata?: Record<string, unknown> | undefined;
                mimeType?: string | undefined;
            })[];
            metadata?: Record<string, unknown> | undefined;
        }>>;
        timestamp: z.ZodOptional<z.ZodString>;
    }, "strict", z.ZodTypeAny, {
        state: "pending" | "running" | "completed" | "failed" | "rejected" | "canceled" | "input-required";
        message?: {
            role: "user" | "agent";
            parts: ({
                text: string;
                kind: "text";
                metadata?: Record<string, unknown> | undefined;
            } | {
                file: {
                    uri: string;
                    mimeType: string;
                    name?: string | undefined;
                    bytes?: string | undefined;
                };
                kind: "file";
                metadata?: Record<string, unknown> | undefined;
            } | {
                data: Record<string, unknown>;
                kind: "data";
                metadata?: Record<string, unknown> | undefined;
                mimeType?: string | undefined;
            })[];
            metadata?: Record<string, unknown> | undefined;
        } | undefined;
        timestamp?: string | undefined;
    }, {
        state: "pending" | "running" | "completed" | "failed" | "rejected" | "canceled" | "input-required";
        message?: {
            role: "user" | "agent";
            parts: ({
                text: string;
                kind: "text";
                metadata?: Record<string, unknown> | undefined;
            } | {
                file: {
                    uri: string;
                    mimeType: string;
                    name?: string | undefined;
                    bytes?: string | undefined;
                };
                kind: "file";
                metadata?: Record<string, unknown> | undefined;
            } | {
                data: Record<string, unknown>;
                kind: "data";
                metadata?: Record<string, unknown> | undefined;
                mimeType?: string | undefined;
            })[];
            metadata?: Record<string, unknown> | undefined;
        } | undefined;
        timestamp?: string | undefined;
    }>;
    history: z.ZodOptional<z.ZodArray<z.ZodObject<{
        role: z.ZodEnum<["user", "agent"]>;
        parts: z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
            kind: z.ZodLiteral<"text">;
            text: z.ZodString;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        }, "strict", z.ZodTypeAny, {
            text: string;
            kind: "text";
            metadata?: Record<string, unknown> | undefined;
        }, {
            text: string;
            kind: "text";
            metadata?: Record<string, unknown> | undefined;
        }>, z.ZodObject<{
            kind: z.ZodLiteral<"file">;
            file: z.ZodObject<{
                uri: z.ZodString;
                mimeType: z.ZodString;
                name: z.ZodOptional<z.ZodString>;
                bytes: z.ZodOptional<z.ZodString>;
            }, "strict", z.ZodTypeAny, {
                uri: string;
                mimeType: string;
                name?: string | undefined;
                bytes?: string | undefined;
            }, {
                uri: string;
                mimeType: string;
                name?: string | undefined;
                bytes?: string | undefined;
            }>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        }, "strict", z.ZodTypeAny, {
            file: {
                uri: string;
                mimeType: string;
                name?: string | undefined;
                bytes?: string | undefined;
            };
            kind: "file";
            metadata?: Record<string, unknown> | undefined;
        }, {
            file: {
                uri: string;
                mimeType: string;
                name?: string | undefined;
                bytes?: string | undefined;
            };
            kind: "file";
            metadata?: Record<string, unknown> | undefined;
        }>, z.ZodObject<{
            kind: z.ZodLiteral<"data">;
            data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
            mimeType: z.ZodOptional<z.ZodString>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        }, "strict", z.ZodTypeAny, {
            data: Record<string, unknown>;
            kind: "data";
            metadata?: Record<string, unknown> | undefined;
            mimeType?: string | undefined;
        }, {
            data: Record<string, unknown>;
            kind: "data";
            metadata?: Record<string, unknown> | undefined;
            mimeType?: string | undefined;
        }>]>, "many">;
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    }, "strict", z.ZodTypeAny, {
        role: "user" | "agent";
        parts: ({
            text: string;
            kind: "text";
            metadata?: Record<string, unknown> | undefined;
        } | {
            file: {
                uri: string;
                mimeType: string;
                name?: string | undefined;
                bytes?: string | undefined;
            };
            kind: "file";
            metadata?: Record<string, unknown> | undefined;
        } | {
            data: Record<string, unknown>;
            kind: "data";
            metadata?: Record<string, unknown> | undefined;
            mimeType?: string | undefined;
        })[];
        metadata?: Record<string, unknown> | undefined;
    }, {
        role: "user" | "agent";
        parts: ({
            text: string;
            kind: "text";
            metadata?: Record<string, unknown> | undefined;
        } | {
            file: {
                uri: string;
                mimeType: string;
                name?: string | undefined;
                bytes?: string | undefined;
            };
            kind: "file";
            metadata?: Record<string, unknown> | undefined;
        } | {
            data: Record<string, unknown>;
            kind: "data";
            metadata?: Record<string, unknown> | undefined;
            mimeType?: string | undefined;
        })[];
        metadata?: Record<string, unknown> | undefined;
    }>, "many">>;
    artifacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
        artifactId: z.ZodString;
        name: z.ZodOptional<z.ZodString>;
        description: z.ZodOptional<z.ZodString>;
        parts: z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
            kind: z.ZodLiteral<"text">;
            text: z.ZodString;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        }, "strict", z.ZodTypeAny, {
            text: string;
            kind: "text";
            metadata?: Record<string, unknown> | undefined;
        }, {
            text: string;
            kind: "text";
            metadata?: Record<string, unknown> | undefined;
        }>, z.ZodObject<{
            kind: z.ZodLiteral<"file">;
            file: z.ZodObject<{
                uri: z.ZodString;
                mimeType: z.ZodString;
                name: z.ZodOptional<z.ZodString>;
                bytes: z.ZodOptional<z.ZodString>;
            }, "strict", z.ZodTypeAny, {
                uri: string;
                mimeType: string;
                name?: string | undefined;
                bytes?: string | undefined;
            }, {
                uri: string;
                mimeType: string;
                name?: string | undefined;
                bytes?: string | undefined;
            }>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        }, "strict", z.ZodTypeAny, {
            file: {
                uri: string;
                mimeType: string;
                name?: string | undefined;
                bytes?: string | undefined;
            };
            kind: "file";
            metadata?: Record<string, unknown> | undefined;
        }, {
            file: {
                uri: string;
                mimeType: string;
                name?: string | undefined;
                bytes?: string | undefined;
            };
            kind: "file";
            metadata?: Record<string, unknown> | undefined;
        }>, z.ZodObject<{
            kind: z.ZodLiteral<"data">;
            data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
            mimeType: z.ZodOptional<z.ZodString>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        }, "strict", z.ZodTypeAny, {
            data: Record<string, unknown>;
            kind: "data";
            metadata?: Record<string, unknown> | undefined;
            mimeType?: string | undefined;
        }, {
            data: Record<string, unknown>;
            kind: "data";
            metadata?: Record<string, unknown> | undefined;
            mimeType?: string | undefined;
        }>]>, "many">;
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    }, "strict", z.ZodTypeAny, {
        parts: ({
            text: string;
            kind: "text";
            metadata?: Record<string, unknown> | undefined;
        } | {
            file: {
                uri: string;
                mimeType: string;
                name?: string | undefined;
                bytes?: string | undefined;
            };
            kind: "file";
            metadata?: Record<string, unknown> | undefined;
        } | {
            data: Record<string, unknown>;
            kind: "data";
            metadata?: Record<string, unknown> | undefined;
            mimeType?: string | undefined;
        })[];
        artifactId: string;
        metadata?: Record<string, unknown> | undefined;
        name?: string | undefined;
        description?: string | undefined;
    }, {
        parts: ({
            text: string;
            kind: "text";
            metadata?: Record<string, unknown> | undefined;
        } | {
            file: {
                uri: string;
                mimeType: string;
                name?: string | undefined;
                bytes?: string | undefined;
            };
            kind: "file";
            metadata?: Record<string, unknown> | undefined;
        } | {
            data: Record<string, unknown>;
            kind: "data";
            metadata?: Record<string, unknown> | undefined;
            mimeType?: string | undefined;
        })[];
        artifactId: string;
        metadata?: Record<string, unknown> | undefined;
        name?: string | undefined;
        description?: string | undefined;
    }>, "many">>;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
}, "strip", z.ZodTypeAny, {
    status: {
        state: "pending" | "running" | "completed" | "failed" | "rejected" | "canceled" | "input-required";
        message?: {
            role: "user" | "agent";
            parts: ({
                text: string;
                kind: "text";
                metadata?: Record<string, unknown> | undefined;
            } | {
                file: {
                    uri: string;
                    mimeType: string;
                    name?: string | undefined;
                    bytes?: string | undefined;
                };
                kind: "file";
                metadata?: Record<string, unknown> | undefined;
            } | {
                data: Record<string, unknown>;
                kind: "data";
                metadata?: Record<string, unknown> | undefined;
                mimeType?: string | undefined;
            })[];
            metadata?: Record<string, unknown> | undefined;
        } | undefined;
        timestamp?: string | undefined;
    };
    id: string;
    metadata?: Record<string, unknown> | undefined;
    contextId?: string | undefined;
    history?: {
        role: "user" | "agent";
        parts: ({
            text: string;
            kind: "text";
            metadata?: Record<string, unknown> | undefined;
        } | {
            file: {
                uri: string;
                mimeType: string;
                name?: string | undefined;
                bytes?: string | undefined;
            };
            kind: "file";
            metadata?: Record<string, unknown> | undefined;
        } | {
            data: Record<string, unknown>;
            kind: "data";
            metadata?: Record<string, unknown> | undefined;
            mimeType?: string | undefined;
        })[];
        metadata?: Record<string, unknown> | undefined;
    }[] | undefined;
    artifacts?: {
        parts: ({
            text: string;
            kind: "text";
            metadata?: Record<string, unknown> | undefined;
        } | {
            file: {
                uri: string;
                mimeType: string;
                name?: string | undefined;
                bytes?: string | undefined;
            };
            kind: "file";
            metadata?: Record<string, unknown> | undefined;
        } | {
            data: Record<string, unknown>;
            kind: "data";
            metadata?: Record<string, unknown> | undefined;
            mimeType?: string | undefined;
        })[];
        artifactId: string;
        metadata?: Record<string, unknown> | undefined;
        name?: string | undefined;
        description?: string | undefined;
    }[] | undefined;
}, {
    status: {
        state: "pending" | "running" | "completed" | "failed" | "rejected" | "canceled" | "input-required";
        message?: {
            role: "user" | "agent";
            parts: ({
                text: string;
                kind: "text";
                metadata?: Record<string, unknown> | undefined;
            } | {
                file: {
                    uri: string;
                    mimeType: string;
                    name?: string | undefined;
                    bytes?: string | undefined;
                };
                kind: "file";
                metadata?: Record<string, unknown> | undefined;
            } | {
                data: Record<string, unknown>;
                kind: "data";
                metadata?: Record<string, unknown> | undefined;
                mimeType?: string | undefined;
            })[];
            metadata?: Record<string, unknown> | undefined;
        } | undefined;
        timestamp?: string | undefined;
    };
    id: string;
    metadata?: Record<string, unknown> | undefined;
    contextId?: string | undefined;
    history?: {
        role: "user" | "agent";
        parts: ({
            text: string;
            kind: "text";
            metadata?: Record<string, unknown> | undefined;
        } | {
            file: {
                uri: string;
                mimeType: string;
                name?: string | undefined;
                bytes?: string | undefined;
            };
            kind: "file";
            metadata?: Record<string, unknown> | undefined;
        } | {
            data: Record<string, unknown>;
            kind: "data";
            metadata?: Record<string, unknown> | undefined;
            mimeType?: string | undefined;
        })[];
        metadata?: Record<string, unknown> | undefined;
    }[] | undefined;
    artifacts?: {
        parts: ({
            text: string;
            kind: "text";
            metadata?: Record<string, unknown> | undefined;
        } | {
            file: {
                uri: string;
                mimeType: string;
                name?: string | undefined;
                bytes?: string | undefined;
            };
            kind: "file";
            metadata?: Record<string, unknown> | undefined;
        } | {
            data: Record<string, unknown>;
            kind: "data";
            metadata?: Record<string, unknown> | undefined;
            mimeType?: string | undefined;
        })[];
        artifactId: string;
        metadata?: Record<string, unknown> | undefined;
        name?: string | undefined;
        description?: string | undefined;
    }[] | undefined;
}>;
export declare const A2AErrorCodeSchema: z.ZodEnum<["TaskNotFound", "TaskNotCancelable", "ContentTypeNotSupported", "UnsupportedOperation", "PushNotificationNotSupported", "InvalidRequest", "InternalError", "Unauthorized"]>;
export type A2AMessageSendInput = z.infer<typeof A2AMessageSendSchema>;
export type A2ATaskGetInput = z.infer<typeof A2ATaskGetSchema>;
export type A2ATaskListInput = z.infer<typeof A2ATaskListSchema>;
export type A2ATaskCancelInput = z.infer<typeof A2ATaskCancelSchema>;
//# sourceMappingURL=a2a.d.ts.map