import { z } from 'zod';
export declare const mcpAsyncQueryUuidSchema: z.ZodString;
export declare const mcpNextPollAfterMsSchema: z.ZodNumber;
export declare const mcpHeartbeatAtSchema: z.ZodString;
export declare const mcpRunningQueryResultSchema: z.ZodObject<{
    status: z.ZodLiteral<"running">;
    queryUuid: z.ZodString;
    nextPollAfterMs: z.ZodNumber;
    heartbeatAt: z.ZodString;
}, "strip", z.ZodTypeAny, {
    status: "running";
    queryUuid: string;
    nextPollAfterMs: number;
    heartbeatAt: string;
}, {
    status: "running";
    queryUuid: string;
    nextPollAfterMs: number;
    heartbeatAt: string;
}>;
export declare const mcpSqlQueryRowsColumnsSchema: z.ZodObject<{
    rows: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
    columns: z.ZodArray<z.ZodString, "many">;
    rowCount: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
    rows: Record<string, unknown>[];
    columns: string[];
    rowCount: number;
}, {
    rows: Record<string, unknown>[];
    columns: string[];
    rowCount: number;
}>;
export declare const mcpSqlQueryCompletedResultSchema: z.ZodObject<{
    rows: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
    columns: z.ZodArray<z.ZodString, "many">;
    rowCount: z.ZodNumber;
} & {
    status: z.ZodLiteral<"done">;
    sqlRunnerUrl: z.ZodNullable<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    rows: Record<string, unknown>[];
    status: "done";
    columns: string[];
    rowCount: number;
    sqlRunnerUrl: string | null;
}, {
    rows: Record<string, unknown>[];
    status: "done";
    columns: string[];
    rowCount: number;
    sqlRunnerUrl: string | null;
}>;
export declare const mcpMetricQueryResultRowsFieldsSchema: z.ZodObject<{
    rows: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
    fields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
}, "strip", z.ZodTypeAny, {
    rows: Record<string, unknown>[];
    fields: Record<string, unknown>;
}, {
    rows: Record<string, unknown>[];
    fields: Record<string, unknown>;
}>;
export declare const mcpMetricQueryCompletedResultSchema: z.ZodObject<{
    rows: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
    fields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
} & {
    status: z.ZodLiteral<"done">;
    queryUuid: z.ZodString;
    exploreUrl: z.ZodNullable<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    rows: Record<string, unknown>[];
    status: "done";
    queryUuid: string;
    fields: Record<string, unknown>;
    exploreUrl: string | null;
}, {
    rows: Record<string, unknown>[];
    status: "done";
    queryUuid: string;
    fields: Record<string, unknown>;
    exploreUrl: string | null;
}>;
export declare const mcpRenderChartResultSchema: z.ZodObject<{
    status: z.ZodLiteral<"done">;
    queryUuid: z.ZodString;
    exploreUrl: z.ZodNullable<z.ZodString>;
    echartsOption: z.ZodNullable<z.ZodUnknown>;
}, "strip", z.ZodTypeAny, {
    status: "done";
    queryUuid: string;
    exploreUrl: string | null;
    echartsOption?: unknown;
}, {
    status: "done";
    queryUuid: string;
    exploreUrl: string | null;
    echartsOption?: unknown;
}>;
export declare const mcpQueryResultDoneSqlResultSchema: z.ZodObject<{
    rows: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
    columns: z.ZodArray<z.ZodString, "many">;
    rowCount: z.ZodNumber;
    status: z.ZodLiteral<"done">;
    queryUuid: z.ZodString;
    sqlRunnerUrl: z.ZodNullable<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    rows: Record<string, unknown>[];
    status: "done";
    columns: string[];
    queryUuid: string;
    rowCount: number;
    sqlRunnerUrl: string | null;
}, {
    rows: Record<string, unknown>[];
    status: "done";
    columns: string[];
    queryUuid: string;
    rowCount: number;
    sqlRunnerUrl: string | null;
}>;
export declare const mcpQueryResultDoneMetricQueryResultSchema: z.ZodObject<{
    rows: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
    fields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
    status: z.ZodLiteral<"done">;
    queryUuid: z.ZodString;
    exploreUrl: z.ZodNullable<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    rows: Record<string, unknown>[];
    status: "done";
    queryUuid: string;
    fields: Record<string, unknown>;
    exploreUrl: string | null;
}, {
    rows: Record<string, unknown>[];
    status: "done";
    queryUuid: string;
    fields: Record<string, unknown>;
    exploreUrl: string | null;
}>;
export declare const mcpQueryResultTerminalResultSchema: z.ZodObject<{
    status: z.ZodEnum<["error", "cancelled", "expired"]>;
    queryUuid: z.ZodString;
    error: z.ZodNullable<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    error: string | null;
    status: "error" | "expired" | "cancelled";
    queryUuid: string;
}, {
    error: string | null;
    status: "error" | "expired" | "cancelled";
    queryUuid: string;
}>;
export declare const createMcpStructuredOutputSchema: <TResult extends z.ZodTypeAny>(result: TResult) => z.ZodObject<{
    result: TResult;
}, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
    result: TResult;
}>, any> extends infer T ? { [k in keyof T]: T[k]; } : never, z.baseObjectInputType<{
    result: TResult;
}> extends infer T_1 ? { [k_1 in keyof T_1]: T_1[k_1]; } : never>;
export declare const createMcpAsyncQueryRunStructuredOutputSchema: <TCompletedResult extends z.ZodTypeAny>(completedResult: TCompletedResult) => z.ZodObject<{
    result: z.ZodUnion<[TCompletedResult, z.ZodObject<{
        status: z.ZodLiteral<"running">;
        queryUuid: z.ZodString;
        nextPollAfterMs: z.ZodNumber;
        heartbeatAt: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        status: "running";
        queryUuid: string;
        nextPollAfterMs: number;
        heartbeatAt: string;
    }, {
        status: "running";
        queryUuid: string;
        nextPollAfterMs: number;
        heartbeatAt: string;
    }>]>;
}, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
    result: z.ZodUnion<[TCompletedResult, z.ZodObject<{
        status: z.ZodLiteral<"running">;
        queryUuid: z.ZodString;
        nextPollAfterMs: z.ZodNumber;
        heartbeatAt: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        status: "running";
        queryUuid: string;
        nextPollAfterMs: number;
        heartbeatAt: string;
    }, {
        status: "running";
        queryUuid: string;
        nextPollAfterMs: number;
        heartbeatAt: string;
    }>]>;
}>, any> extends infer T ? { [k in keyof T]: T[k]; } : never, z.baseObjectInputType<{
    result: z.ZodUnion<[TCompletedResult, z.ZodObject<{
        status: z.ZodLiteral<"running">;
        queryUuid: z.ZodString;
        nextPollAfterMs: z.ZodNumber;
        heartbeatAt: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        status: "running";
        queryUuid: string;
        nextPollAfterMs: number;
        heartbeatAt: string;
    }, {
        status: "running";
        queryUuid: string;
        nextPollAfterMs: number;
        heartbeatAt: string;
    }>]>;
}> extends infer T_1 ? { [k_1 in keyof T_1]: T_1[k_1]; } : never>;
export declare const mcpRunSqlStructuredOutputSchema: z.ZodObject<{
    result: z.ZodUnion<[z.ZodObject<{
        rows: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
        columns: z.ZodArray<z.ZodString, "many">;
        rowCount: z.ZodNumber;
    } & {
        status: z.ZodLiteral<"done">;
        sqlRunnerUrl: z.ZodNullable<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        rows: Record<string, unknown>[];
        status: "done";
        columns: string[];
        rowCount: number;
        sqlRunnerUrl: string | null;
    }, {
        rows: Record<string, unknown>[];
        status: "done";
        columns: string[];
        rowCount: number;
        sqlRunnerUrl: string | null;
    }>, z.ZodObject<{
        status: z.ZodLiteral<"running">;
        queryUuid: z.ZodString;
        nextPollAfterMs: z.ZodNumber;
        heartbeatAt: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        status: "running";
        queryUuid: string;
        nextPollAfterMs: number;
        heartbeatAt: string;
    }, {
        status: "running";
        queryUuid: string;
        nextPollAfterMs: number;
        heartbeatAt: string;
    }>]>;
}, "strip", z.ZodTypeAny, {
    result: {
        status: "running";
        queryUuid: string;
        nextPollAfterMs: number;
        heartbeatAt: string;
    } | {
        rows: Record<string, unknown>[];
        status: "done";
        columns: string[];
        rowCount: number;
        sqlRunnerUrl: string | null;
    };
}, {
    result: {
        status: "running";
        queryUuid: string;
        nextPollAfterMs: number;
        heartbeatAt: string;
    } | {
        rows: Record<string, unknown>[];
        status: "done";
        columns: string[];
        rowCount: number;
        sqlRunnerUrl: string | null;
    };
}>;
export declare const mcpRunMetricQueryStructuredOutputSchema: z.ZodObject<{
    result: z.ZodUnion<[z.ZodObject<{
        rows: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
        fields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
    } & {
        status: z.ZodLiteral<"done">;
        queryUuid: z.ZodString;
        exploreUrl: z.ZodNullable<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        rows: Record<string, unknown>[];
        status: "done";
        queryUuid: string;
        fields: Record<string, unknown>;
        exploreUrl: string | null;
    }, {
        rows: Record<string, unknown>[];
        status: "done";
        queryUuid: string;
        fields: Record<string, unknown>;
        exploreUrl: string | null;
    }>, z.ZodObject<{
        status: z.ZodLiteral<"running">;
        queryUuid: z.ZodString;
        nextPollAfterMs: z.ZodNumber;
        heartbeatAt: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        status: "running";
        queryUuid: string;
        nextPollAfterMs: number;
        heartbeatAt: string;
    }, {
        status: "running";
        queryUuid: string;
        nextPollAfterMs: number;
        heartbeatAt: string;
    }>]>;
}, "strip", z.ZodTypeAny, {
    result: {
        status: "running";
        queryUuid: string;
        nextPollAfterMs: number;
        heartbeatAt: string;
    } | {
        rows: Record<string, unknown>[];
        status: "done";
        queryUuid: string;
        fields: Record<string, unknown>;
        exploreUrl: string | null;
    };
}, {
    result: {
        status: "running";
        queryUuid: string;
        nextPollAfterMs: number;
        heartbeatAt: string;
    } | {
        rows: Record<string, unknown>[];
        status: "done";
        queryUuid: string;
        fields: Record<string, unknown>;
        exploreUrl: string | null;
    };
}>;
export declare const mcpGetQueryResultStructuredOutputSchema: z.ZodObject<{
    result: z.ZodUnion<[z.ZodObject<{
        status: z.ZodLiteral<"running">;
        queryUuid: z.ZodString;
        nextPollAfterMs: z.ZodNumber;
        heartbeatAt: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        status: "running";
        queryUuid: string;
        nextPollAfterMs: number;
        heartbeatAt: string;
    }, {
        status: "running";
        queryUuid: string;
        nextPollAfterMs: number;
        heartbeatAt: string;
    }>, z.ZodObject<{
        rows: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
        columns: z.ZodArray<z.ZodString, "many">;
        rowCount: z.ZodNumber;
        status: z.ZodLiteral<"done">;
        queryUuid: z.ZodString;
        sqlRunnerUrl: z.ZodNullable<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        rows: Record<string, unknown>[];
        status: "done";
        columns: string[];
        queryUuid: string;
        rowCount: number;
        sqlRunnerUrl: string | null;
    }, {
        rows: Record<string, unknown>[];
        status: "done";
        columns: string[];
        queryUuid: string;
        rowCount: number;
        sqlRunnerUrl: string | null;
    }>, z.ZodObject<{
        rows: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
        fields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
        status: z.ZodLiteral<"done">;
        queryUuid: z.ZodString;
        exploreUrl: z.ZodNullable<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        rows: Record<string, unknown>[];
        status: "done";
        queryUuid: string;
        fields: Record<string, unknown>;
        exploreUrl: string | null;
    }, {
        rows: Record<string, unknown>[];
        status: "done";
        queryUuid: string;
        fields: Record<string, unknown>;
        exploreUrl: string | null;
    }>, z.ZodObject<{
        status: z.ZodEnum<["error", "cancelled", "expired"]>;
        queryUuid: z.ZodString;
        error: z.ZodNullable<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        error: string | null;
        status: "error" | "expired" | "cancelled";
        queryUuid: string;
    }, {
        error: string | null;
        status: "error" | "expired" | "cancelled";
        queryUuid: string;
    }>]>;
}, "strip", z.ZodTypeAny, {
    result: {
        status: "running";
        queryUuid: string;
        nextPollAfterMs: number;
        heartbeatAt: string;
    } | {
        rows: Record<string, unknown>[];
        status: "done";
        columns: string[];
        queryUuid: string;
        rowCount: number;
        sqlRunnerUrl: string | null;
    } | {
        rows: Record<string, unknown>[];
        status: "done";
        queryUuid: string;
        fields: Record<string, unknown>;
        exploreUrl: string | null;
    } | {
        error: string | null;
        status: "error" | "expired" | "cancelled";
        queryUuid: string;
    };
}, {
    result: {
        status: "running";
        queryUuid: string;
        nextPollAfterMs: number;
        heartbeatAt: string;
    } | {
        rows: Record<string, unknown>[];
        status: "done";
        columns: string[];
        queryUuid: string;
        rowCount: number;
        sqlRunnerUrl: string | null;
    } | {
        rows: Record<string, unknown>[];
        status: "done";
        queryUuid: string;
        fields: Record<string, unknown>;
        exploreUrl: string | null;
    } | {
        error: string | null;
        status: "error" | "expired" | "cancelled";
        queryUuid: string;
    };
}>;
export declare const mcpRenderChartStructuredOutputSchema: z.ZodObject<{
    result: z.ZodObject<{
        status: z.ZodLiteral<"done">;
        queryUuid: z.ZodString;
        exploreUrl: z.ZodNullable<z.ZodString>;
        echartsOption: z.ZodNullable<z.ZodUnknown>;
    }, "strip", z.ZodTypeAny, {
        status: "done";
        queryUuid: string;
        exploreUrl: string | null;
        echartsOption?: unknown;
    }, {
        status: "done";
        queryUuid: string;
        exploreUrl: string | null;
        echartsOption?: unknown;
    }>;
}, "strip", z.ZodTypeAny, {
    result: {
        status: "done";
        queryUuid: string;
        exploreUrl: string | null;
        echartsOption?: unknown;
    };
}, {
    result: {
        status: "done";
        queryUuid: string;
        exploreUrl: string | null;
        echartsOption?: unknown;
    };
}>;
//# sourceMappingURL=toolQueryResultSchemas.d.ts.map