import { z } from 'zod';
export declare const DISCOVER_FIELDS_DESCRIPTION = "Tool: discoverFields\n\nPurpose:\nRun the data-discovery subagent. Given the latest user query, returns a structured handoff describing which explore and which fields to use to answer it.\n\nUse this tool as the FIRST step whenever the user asks a data question (counts, totals, breakdowns, trends, \"what is\", \"show me\", \"how many\"). Do NOT call this when the user is only asking about existing dashboards/charts (use findContent) or follow-up clarifications about a chart you already produced.\n\nYou will receive one of three statuses:\n- \"resolved\" \u2014 proceed with generateVisualization (or generateDashboard) using the returned explore + fields.\n- \"ambiguous\" \u2014 surface the suggestedQuestion to the user; do NOT call generateVisualization.\n- \"no_match\" \u2014 explain back to the user that no data source covers the request.\n\nRe-call this tool if the user pivots mid-thread to a different data topic and you need fields from a different explore.\n";
export declare const discoverFieldsInputSchema: z.ZodObject<{
    userQuery: z.ZodString;
    agentInstruction: z.ZodNullable<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    userQuery: string;
    agentInstruction: string | null;
}, {
    userQuery: string;
    agentInstruction: string | null;
}>;
export type DiscoverFieldsInput = z.infer<typeof discoverFieldsInputSchema>;
export declare const discoverFieldsResultUnionSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
    status: z.ZodLiteral<"resolved">;
    explore: z.ZodObject<{
        name: z.ZodString;
        label: z.ZodString;
        baseTable: z.ZodString;
        joinedTables: z.ZodArray<z.ZodString, "many">;
        requiredFilters: z.ZodOptional<z.ZodArray<z.ZodObject<{
            fieldId: z.ZodString;
            fieldRef: z.ZodString;
            tableName: z.ZodString;
            operator: z.ZodString;
            values: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
            settings: z.ZodOptional<z.ZodUnknown>;
            required: z.ZodBoolean;
        }, "strip", z.ZodTypeAny, {
            required: boolean;
            operator: string;
            tableName: string;
            fieldId: string;
            fieldRef: string;
            values?: unknown[] | undefined;
            settings?: unknown;
        }, {
            required: boolean;
            operator: string;
            tableName: string;
            fieldId: string;
            fieldRef: string;
            values?: unknown[] | undefined;
            settings?: unknown;
        }>, "many">>;
    }, "strip", z.ZodTypeAny, {
        name: string;
        label: string;
        baseTable: string;
        joinedTables: string[];
        requiredFilters?: {
            required: boolean;
            operator: string;
            tableName: string;
            fieldId: string;
            fieldRef: string;
            values?: unknown[] | undefined;
            settings?: unknown;
        }[] | undefined;
    }, {
        name: string;
        label: string;
        baseTable: string;
        joinedTables: string[];
        requiredFilters?: {
            required: boolean;
            operator: string;
            tableName: string;
            fieldId: string;
            fieldRef: string;
            values?: unknown[] | undefined;
            settings?: unknown;
        }[] | undefined;
    }>;
    fields: z.ZodArray<z.ZodObject<{
        fieldId: z.ZodString;
        name: z.ZodString;
        label: z.ZodString;
        table: z.ZodString;
        fieldType: z.ZodEnum<["dimension", "metric"]>;
        fieldValueType: z.ZodString;
        fieldFilterType: z.ZodString;
        caseSensitiveFilters: z.ZodEnum<["true", "false", "not_applicable"]>;
        isFromJoinedTable: z.ZodBoolean;
        description: z.ZodNullable<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        name: string;
        label: string;
        fieldId: string;
        table: string;
        fieldType: "metric" | "dimension";
        description: string | null;
        fieldFilterType: string;
        fieldValueType: string;
        caseSensitiveFilters: "true" | "false" | "not_applicable";
        isFromJoinedTable: boolean;
    }, {
        name: string;
        label: string;
        fieldId: string;
        table: string;
        fieldType: "metric" | "dimension";
        description: string | null;
        fieldFilterType: string;
        fieldValueType: string;
        caseSensitiveFilters: "true" | "false" | "not_applicable";
        isFromJoinedTable: boolean;
    }>, "many">;
    rationale: z.ZodNullable<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    status: "resolved";
    explore: {
        name: string;
        label: string;
        baseTable: string;
        joinedTables: string[];
        requiredFilters?: {
            required: boolean;
            operator: string;
            tableName: string;
            fieldId: string;
            fieldRef: string;
            values?: unknown[] | undefined;
            settings?: unknown;
        }[] | undefined;
    };
    rationale: string | null;
    fields: {
        name: string;
        label: string;
        fieldId: string;
        table: string;
        fieldType: "metric" | "dimension";
        description: string | null;
        fieldFilterType: string;
        fieldValueType: string;
        caseSensitiveFilters: "true" | "false" | "not_applicable";
        isFromJoinedTable: boolean;
    }[];
}, {
    status: "resolved";
    explore: {
        name: string;
        label: string;
        baseTable: string;
        joinedTables: string[];
        requiredFilters?: {
            required: boolean;
            operator: string;
            tableName: string;
            fieldId: string;
            fieldRef: string;
            values?: unknown[] | undefined;
            settings?: unknown;
        }[] | undefined;
    };
    rationale: string | null;
    fields: {
        name: string;
        label: string;
        fieldId: string;
        table: string;
        fieldType: "metric" | "dimension";
        description: string | null;
        fieldFilterType: string;
        fieldValueType: string;
        caseSensitiveFilters: "true" | "false" | "not_applicable";
        isFromJoinedTable: boolean;
    }[];
}>, z.ZodObject<{
    status: z.ZodLiteral<"ambiguous">;
    candidates: z.ZodArray<z.ZodObject<{
        exploreName: z.ZodString;
        exploreLabel: z.ZodString;
        reason: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        exploreName: string;
        reason: string;
        exploreLabel: string;
    }, {
        exploreName: string;
        reason: string;
        exploreLabel: string;
    }>, "many">;
    suggestedQuestion: z.ZodString;
}, "strip", z.ZodTypeAny, {
    status: "ambiguous";
    candidates: {
        exploreName: string;
        reason: string;
        exploreLabel: string;
    }[];
    suggestedQuestion: string;
}, {
    status: "ambiguous";
    candidates: {
        exploreName: string;
        reason: string;
        exploreLabel: string;
    }[];
    suggestedQuestion: string;
}>, z.ZodObject<{
    status: z.ZodLiteral<"no_match">;
    reason: z.ZodString;
}, "strip", z.ZodTypeAny, {
    status: "no_match";
    reason: string;
}, {
    status: "no_match";
    reason: string;
}>]>;
export declare const discoverFieldsResultSchema: z.ZodObject<{
    handoff: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
        status: z.ZodLiteral<"resolved">;
        explore: z.ZodObject<{
            name: z.ZodString;
            label: z.ZodString;
            baseTable: z.ZodString;
            joinedTables: z.ZodArray<z.ZodString, "many">;
            requiredFilters: z.ZodOptional<z.ZodArray<z.ZodObject<{
                fieldId: z.ZodString;
                fieldRef: z.ZodString;
                tableName: z.ZodString;
                operator: z.ZodString;
                values: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
                settings: z.ZodOptional<z.ZodUnknown>;
                required: z.ZodBoolean;
            }, "strip", z.ZodTypeAny, {
                required: boolean;
                operator: string;
                tableName: string;
                fieldId: string;
                fieldRef: string;
                values?: unknown[] | undefined;
                settings?: unknown;
            }, {
                required: boolean;
                operator: string;
                tableName: string;
                fieldId: string;
                fieldRef: string;
                values?: unknown[] | undefined;
                settings?: unknown;
            }>, "many">>;
        }, "strip", z.ZodTypeAny, {
            name: string;
            label: string;
            baseTable: string;
            joinedTables: string[];
            requiredFilters?: {
                required: boolean;
                operator: string;
                tableName: string;
                fieldId: string;
                fieldRef: string;
                values?: unknown[] | undefined;
                settings?: unknown;
            }[] | undefined;
        }, {
            name: string;
            label: string;
            baseTable: string;
            joinedTables: string[];
            requiredFilters?: {
                required: boolean;
                operator: string;
                tableName: string;
                fieldId: string;
                fieldRef: string;
                values?: unknown[] | undefined;
                settings?: unknown;
            }[] | undefined;
        }>;
        fields: z.ZodArray<z.ZodObject<{
            fieldId: z.ZodString;
            name: z.ZodString;
            label: z.ZodString;
            table: z.ZodString;
            fieldType: z.ZodEnum<["dimension", "metric"]>;
            fieldValueType: z.ZodString;
            fieldFilterType: z.ZodString;
            caseSensitiveFilters: z.ZodEnum<["true", "false", "not_applicable"]>;
            isFromJoinedTable: z.ZodBoolean;
            description: z.ZodNullable<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            name: string;
            label: string;
            fieldId: string;
            table: string;
            fieldType: "metric" | "dimension";
            description: string | null;
            fieldFilterType: string;
            fieldValueType: string;
            caseSensitiveFilters: "true" | "false" | "not_applicable";
            isFromJoinedTable: boolean;
        }, {
            name: string;
            label: string;
            fieldId: string;
            table: string;
            fieldType: "metric" | "dimension";
            description: string | null;
            fieldFilterType: string;
            fieldValueType: string;
            caseSensitiveFilters: "true" | "false" | "not_applicable";
            isFromJoinedTable: boolean;
        }>, "many">;
        rationale: z.ZodNullable<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        status: "resolved";
        explore: {
            name: string;
            label: string;
            baseTable: string;
            joinedTables: string[];
            requiredFilters?: {
                required: boolean;
                operator: string;
                tableName: string;
                fieldId: string;
                fieldRef: string;
                values?: unknown[] | undefined;
                settings?: unknown;
            }[] | undefined;
        };
        rationale: string | null;
        fields: {
            name: string;
            label: string;
            fieldId: string;
            table: string;
            fieldType: "metric" | "dimension";
            description: string | null;
            fieldFilterType: string;
            fieldValueType: string;
            caseSensitiveFilters: "true" | "false" | "not_applicable";
            isFromJoinedTable: boolean;
        }[];
    }, {
        status: "resolved";
        explore: {
            name: string;
            label: string;
            baseTable: string;
            joinedTables: string[];
            requiredFilters?: {
                required: boolean;
                operator: string;
                tableName: string;
                fieldId: string;
                fieldRef: string;
                values?: unknown[] | undefined;
                settings?: unknown;
            }[] | undefined;
        };
        rationale: string | null;
        fields: {
            name: string;
            label: string;
            fieldId: string;
            table: string;
            fieldType: "metric" | "dimension";
            description: string | null;
            fieldFilterType: string;
            fieldValueType: string;
            caseSensitiveFilters: "true" | "false" | "not_applicable";
            isFromJoinedTable: boolean;
        }[];
    }>, z.ZodObject<{
        status: z.ZodLiteral<"ambiguous">;
        candidates: z.ZodArray<z.ZodObject<{
            exploreName: z.ZodString;
            exploreLabel: z.ZodString;
            reason: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            exploreName: string;
            reason: string;
            exploreLabel: string;
        }, {
            exploreName: string;
            reason: string;
            exploreLabel: string;
        }>, "many">;
        suggestedQuestion: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        status: "ambiguous";
        candidates: {
            exploreName: string;
            reason: string;
            exploreLabel: string;
        }[];
        suggestedQuestion: string;
    }, {
        status: "ambiguous";
        candidates: {
            exploreName: string;
            reason: string;
            exploreLabel: string;
        }[];
        suggestedQuestion: string;
    }>, z.ZodObject<{
        status: z.ZodLiteral<"no_match">;
        reason: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        status: "no_match";
        reason: string;
    }, {
        status: "no_match";
        reason: string;
    }>]>;
}, "strip", z.ZodTypeAny, {
    handoff: {
        status: "resolved";
        explore: {
            name: string;
            label: string;
            baseTable: string;
            joinedTables: string[];
            requiredFilters?: {
                required: boolean;
                operator: string;
                tableName: string;
                fieldId: string;
                fieldRef: string;
                values?: unknown[] | undefined;
                settings?: unknown;
            }[] | undefined;
        };
        rationale: string | null;
        fields: {
            name: string;
            label: string;
            fieldId: string;
            table: string;
            fieldType: "metric" | "dimension";
            description: string | null;
            fieldFilterType: string;
            fieldValueType: string;
            caseSensitiveFilters: "true" | "false" | "not_applicable";
            isFromJoinedTable: boolean;
        }[];
    } | {
        status: "ambiguous";
        candidates: {
            exploreName: string;
            reason: string;
            exploreLabel: string;
        }[];
        suggestedQuestion: string;
    } | {
        status: "no_match";
        reason: string;
    };
}, {
    handoff: {
        status: "resolved";
        explore: {
            name: string;
            label: string;
            baseTable: string;
            joinedTables: string[];
            requiredFilters?: {
                required: boolean;
                operator: string;
                tableName: string;
                fieldId: string;
                fieldRef: string;
                values?: unknown[] | undefined;
                settings?: unknown;
            }[] | undefined;
        };
        rationale: string | null;
        fields: {
            name: string;
            label: string;
            fieldId: string;
            table: string;
            fieldType: "metric" | "dimension";
            description: string | null;
            fieldFilterType: string;
            fieldValueType: string;
            caseSensitiveFilters: "true" | "false" | "not_applicable";
            isFromJoinedTable: boolean;
        }[];
    } | {
        status: "ambiguous";
        candidates: {
            exploreName: string;
            reason: string;
            exploreLabel: string;
        }[];
        suggestedQuestion: string;
    } | {
        status: "no_match";
        reason: string;
    };
}>;
export declare const toolDiscoverFieldsOutputSchema: z.ZodUnion<[z.ZodObject<{
    result: z.ZodLiteral<"">;
    metadata: z.ZodObject<{
        status: z.ZodLiteral<"streaming">;
        streamingMessage: z.ZodUnknown;
    }, "strip", z.ZodTypeAny, {
        status: "streaming";
        streamingMessage?: unknown;
    }, {
        status: "streaming";
        streamingMessage?: unknown;
    }>;
}, "strip", z.ZodTypeAny, {
    metadata: {
        status: "streaming";
        streamingMessage?: unknown;
    };
    result: "";
}, {
    metadata: {
        status: "streaming";
        streamingMessage?: unknown;
    };
    result: "";
}>, z.ZodObject<{
    result: z.ZodString;
    metadata: z.ZodObject<{
        status: z.ZodLiteral<"success">;
        discovery: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
            status: z.ZodLiteral<"resolved">;
            explore: z.ZodObject<{
                name: z.ZodString;
                label: z.ZodString;
                baseTable: z.ZodString;
                joinedTables: z.ZodArray<z.ZodString, "many">;
                requiredFilters: z.ZodOptional<z.ZodArray<z.ZodObject<{
                    fieldId: z.ZodString;
                    fieldRef: z.ZodString;
                    tableName: z.ZodString;
                    operator: z.ZodString;
                    values: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
                    settings: z.ZodOptional<z.ZodUnknown>;
                    required: z.ZodBoolean;
                }, "strip", z.ZodTypeAny, {
                    required: boolean;
                    operator: string;
                    tableName: string;
                    fieldId: string;
                    fieldRef: string;
                    values?: unknown[] | undefined;
                    settings?: unknown;
                }, {
                    required: boolean;
                    operator: string;
                    tableName: string;
                    fieldId: string;
                    fieldRef: string;
                    values?: unknown[] | undefined;
                    settings?: unknown;
                }>, "many">>;
            }, "strip", z.ZodTypeAny, {
                name: string;
                label: string;
                baseTable: string;
                joinedTables: string[];
                requiredFilters?: {
                    required: boolean;
                    operator: string;
                    tableName: string;
                    fieldId: string;
                    fieldRef: string;
                    values?: unknown[] | undefined;
                    settings?: unknown;
                }[] | undefined;
            }, {
                name: string;
                label: string;
                baseTable: string;
                joinedTables: string[];
                requiredFilters?: {
                    required: boolean;
                    operator: string;
                    tableName: string;
                    fieldId: string;
                    fieldRef: string;
                    values?: unknown[] | undefined;
                    settings?: unknown;
                }[] | undefined;
            }>;
            fields: z.ZodArray<z.ZodObject<{
                fieldId: z.ZodString;
                name: z.ZodString;
                label: z.ZodString;
                table: z.ZodString;
                fieldType: z.ZodEnum<["dimension", "metric"]>;
                fieldValueType: z.ZodString;
                fieldFilterType: z.ZodString;
                caseSensitiveFilters: z.ZodEnum<["true", "false", "not_applicable"]>;
                isFromJoinedTable: z.ZodBoolean;
                description: z.ZodNullable<z.ZodString>;
            }, "strip", z.ZodTypeAny, {
                name: string;
                label: string;
                fieldId: string;
                table: string;
                fieldType: "metric" | "dimension";
                description: string | null;
                fieldFilterType: string;
                fieldValueType: string;
                caseSensitiveFilters: "true" | "false" | "not_applicable";
                isFromJoinedTable: boolean;
            }, {
                name: string;
                label: string;
                fieldId: string;
                table: string;
                fieldType: "metric" | "dimension";
                description: string | null;
                fieldFilterType: string;
                fieldValueType: string;
                caseSensitiveFilters: "true" | "false" | "not_applicable";
                isFromJoinedTable: boolean;
            }>, "many">;
            rationale: z.ZodNullable<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            status: "resolved";
            explore: {
                name: string;
                label: string;
                baseTable: string;
                joinedTables: string[];
                requiredFilters?: {
                    required: boolean;
                    operator: string;
                    tableName: string;
                    fieldId: string;
                    fieldRef: string;
                    values?: unknown[] | undefined;
                    settings?: unknown;
                }[] | undefined;
            };
            rationale: string | null;
            fields: {
                name: string;
                label: string;
                fieldId: string;
                table: string;
                fieldType: "metric" | "dimension";
                description: string | null;
                fieldFilterType: string;
                fieldValueType: string;
                caseSensitiveFilters: "true" | "false" | "not_applicable";
                isFromJoinedTable: boolean;
            }[];
        }, {
            status: "resolved";
            explore: {
                name: string;
                label: string;
                baseTable: string;
                joinedTables: string[];
                requiredFilters?: {
                    required: boolean;
                    operator: string;
                    tableName: string;
                    fieldId: string;
                    fieldRef: string;
                    values?: unknown[] | undefined;
                    settings?: unknown;
                }[] | undefined;
            };
            rationale: string | null;
            fields: {
                name: string;
                label: string;
                fieldId: string;
                table: string;
                fieldType: "metric" | "dimension";
                description: string | null;
                fieldFilterType: string;
                fieldValueType: string;
                caseSensitiveFilters: "true" | "false" | "not_applicable";
                isFromJoinedTable: boolean;
            }[];
        }>, z.ZodObject<{
            status: z.ZodLiteral<"ambiguous">;
            candidates: z.ZodArray<z.ZodObject<{
                exploreName: z.ZodString;
                exploreLabel: z.ZodString;
                reason: z.ZodString;
            }, "strip", z.ZodTypeAny, {
                exploreName: string;
                reason: string;
                exploreLabel: string;
            }, {
                exploreName: string;
                reason: string;
                exploreLabel: string;
            }>, "many">;
            suggestedQuestion: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            status: "ambiguous";
            candidates: {
                exploreName: string;
                reason: string;
                exploreLabel: string;
            }[];
            suggestedQuestion: string;
        }, {
            status: "ambiguous";
            candidates: {
                exploreName: string;
                reason: string;
                exploreLabel: string;
            }[];
            suggestedQuestion: string;
        }>, z.ZodObject<{
            status: z.ZodLiteral<"no_match">;
            reason: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            status: "no_match";
            reason: string;
        }, {
            status: "no_match";
            reason: string;
        }>]>;
        streamingMessage: z.ZodOptional<z.ZodUnknown>;
    }, "strip", z.ZodTypeAny, {
        status: "success";
        discovery: {
            status: "resolved";
            explore: {
                name: string;
                label: string;
                baseTable: string;
                joinedTables: string[];
                requiredFilters?: {
                    required: boolean;
                    operator: string;
                    tableName: string;
                    fieldId: string;
                    fieldRef: string;
                    values?: unknown[] | undefined;
                    settings?: unknown;
                }[] | undefined;
            };
            rationale: string | null;
            fields: {
                name: string;
                label: string;
                fieldId: string;
                table: string;
                fieldType: "metric" | "dimension";
                description: string | null;
                fieldFilterType: string;
                fieldValueType: string;
                caseSensitiveFilters: "true" | "false" | "not_applicable";
                isFromJoinedTable: boolean;
            }[];
        } | {
            status: "ambiguous";
            candidates: {
                exploreName: string;
                reason: string;
                exploreLabel: string;
            }[];
            suggestedQuestion: string;
        } | {
            status: "no_match";
            reason: string;
        };
        streamingMessage?: unknown;
    }, {
        status: "success";
        discovery: {
            status: "resolved";
            explore: {
                name: string;
                label: string;
                baseTable: string;
                joinedTables: string[];
                requiredFilters?: {
                    required: boolean;
                    operator: string;
                    tableName: string;
                    fieldId: string;
                    fieldRef: string;
                    values?: unknown[] | undefined;
                    settings?: unknown;
                }[] | undefined;
            };
            rationale: string | null;
            fields: {
                name: string;
                label: string;
                fieldId: string;
                table: string;
                fieldType: "metric" | "dimension";
                description: string | null;
                fieldFilterType: string;
                fieldValueType: string;
                caseSensitiveFilters: "true" | "false" | "not_applicable";
                isFromJoinedTable: boolean;
            }[];
        } | {
            status: "ambiguous";
            candidates: {
                exploreName: string;
                reason: string;
                exploreLabel: string;
            }[];
            suggestedQuestion: string;
        } | {
            status: "no_match";
            reason: string;
        };
        streamingMessage?: unknown;
    }>;
}, "strip", z.ZodTypeAny, {
    metadata: {
        status: "success";
        discovery: {
            status: "resolved";
            explore: {
                name: string;
                label: string;
                baseTable: string;
                joinedTables: string[];
                requiredFilters?: {
                    required: boolean;
                    operator: string;
                    tableName: string;
                    fieldId: string;
                    fieldRef: string;
                    values?: unknown[] | undefined;
                    settings?: unknown;
                }[] | undefined;
            };
            rationale: string | null;
            fields: {
                name: string;
                label: string;
                fieldId: string;
                table: string;
                fieldType: "metric" | "dimension";
                description: string | null;
                fieldFilterType: string;
                fieldValueType: string;
                caseSensitiveFilters: "true" | "false" | "not_applicable";
                isFromJoinedTable: boolean;
            }[];
        } | {
            status: "ambiguous";
            candidates: {
                exploreName: string;
                reason: string;
                exploreLabel: string;
            }[];
            suggestedQuestion: string;
        } | {
            status: "no_match";
            reason: string;
        };
        streamingMessage?: unknown;
    };
    result: string;
}, {
    metadata: {
        status: "success";
        discovery: {
            status: "resolved";
            explore: {
                name: string;
                label: string;
                baseTable: string;
                joinedTables: string[];
                requiredFilters?: {
                    required: boolean;
                    operator: string;
                    tableName: string;
                    fieldId: string;
                    fieldRef: string;
                    values?: unknown[] | undefined;
                    settings?: unknown;
                }[] | undefined;
            };
            rationale: string | null;
            fields: {
                name: string;
                label: string;
                fieldId: string;
                table: string;
                fieldType: "metric" | "dimension";
                description: string | null;
                fieldFilterType: string;
                fieldValueType: string;
                caseSensitiveFilters: "true" | "false" | "not_applicable";
                isFromJoinedTable: boolean;
            }[];
        } | {
            status: "ambiguous";
            candidates: {
                exploreName: string;
                reason: string;
                exploreLabel: string;
            }[];
            suggestedQuestion: string;
        } | {
            status: "no_match";
            reason: string;
        };
        streamingMessage?: unknown;
    };
    result: string;
}>, z.ZodObject<{
    result: z.ZodString;
    metadata: z.ZodObject<{
        status: z.ZodLiteral<"error">;
    }, "strip", z.ZodTypeAny, {
        status: "error";
    }, {
        status: "error";
    }>;
}, "strip", z.ZodTypeAny, {
    metadata: {
        status: "error";
    };
    result: string;
}, {
    metadata: {
        status: "error";
    };
    result: string;
}>]>;
export type DiscoverFieldsResult = z.infer<typeof discoverFieldsResultUnionSchema>;
export type ToolDiscoverFieldsOutput = z.infer<typeof toolDiscoverFieldsOutputSchema>;
//# sourceMappingURL=toolDiscoverFieldsArgs.d.ts.map