import * as v from '../../shared/src/valita.ts';
declare const inspectQueriesUpBodySchema: v.ObjectType<Omit<{
    id: v.Type<string>;
}, "op" | "clientID"> & {
    op: v.Type<"queries">;
    clientID: v.Optional<string>;
}, undefined>;
export type InspectQueriesUpBody = v.Infer<typeof inspectQueriesUpBodySchema>;
declare const inspectMetricsUpSchema: v.ObjectType<Omit<{
    id: v.Type<string>;
}, "op"> & {
    op: v.Type<"metrics">;
}, undefined>;
export type InspectMetricsUpBody = v.Infer<typeof inspectMetricsUpSchema>;
declare const inspectVersionUpSchema: v.ObjectType<Omit<{
    id: v.Type<string>;
}, "op"> & {
    op: v.Type<"version">;
}, undefined>;
export type InspectVersionUpBody = v.Infer<typeof inspectVersionUpSchema>;
export declare const inspectAuthenticateUpSchema: v.ObjectType<Omit<{
    id: v.Type<string>;
}, "op" | "value"> & {
    op: v.Type<"authenticate">;
    value: v.Type<string>;
}, undefined>;
export type InspectAuthenticateUpBody = v.Infer<typeof inspectAuthenticateUpSchema>;
declare const analyzeQueryOptionsSchema: v.ObjectType<{
    vendedRows: v.Optional<boolean>;
    syncedRows: v.Optional<boolean>;
}, undefined>;
export type AnalyzeQueryOptions = v.Infer<typeof analyzeQueryOptionsSchema>;
export declare const inspectAnalyzeQueryUpSchema: v.ObjectType<Omit<{
    id: v.Type<string>;
}, "op" | "value" | "name" | "args" | "ast" | "options"> & {
    op: v.Type<"analyze-query">;
    /** @deprecated Use {@linkcode ast} instead */
    value: v.Optional<import("./ast.ts").AST>;
    options: v.Optional<{
        vendedRows?: boolean | undefined;
        syncedRows?: boolean | undefined;
    }>;
    ast: v.Optional<import("./ast.ts").AST>;
    name: v.Optional<string>;
    args: v.Optional<readonly import("../../shared/src/json.ts").ReadonlyJSONValue[]>;
}, undefined>;
export type InspectAnalyzeQueryUpBody = v.Infer<typeof inspectAnalyzeQueryUpSchema>;
declare const inspectUpBodySchema: v.UnionType<[v.ObjectType<Omit<{
    id: v.Type<string>;
}, "op" | "clientID"> & {
    op: v.Type<"queries">;
    clientID: v.Optional<string>;
}, undefined>, v.ObjectType<Omit<{
    id: v.Type<string>;
}, "op"> & {
    op: v.Type<"metrics">;
}, undefined>, v.ObjectType<Omit<{
    id: v.Type<string>;
}, "op"> & {
    op: v.Type<"version">;
}, undefined>, v.ObjectType<Omit<{
    id: v.Type<string>;
}, "op" | "value"> & {
    op: v.Type<"authenticate">;
    value: v.Type<string>;
}, undefined>, v.ObjectType<Omit<{
    id: v.Type<string>;
}, "op" | "value" | "name" | "args" | "ast" | "options"> & {
    op: v.Type<"analyze-query">;
    /** @deprecated Use {@linkcode ast} instead */
    value: v.Optional<import("./ast.ts").AST>;
    options: v.Optional<{
        vendedRows?: boolean | undefined;
        syncedRows?: boolean | undefined;
    }>;
    ast: v.Optional<import("./ast.ts").AST>;
    name: v.Optional<string>;
    args: v.Optional<readonly import("../../shared/src/json.ts").ReadonlyJSONValue[]>;
}, undefined>]>;
export declare const inspectUpMessageSchema: v.TupleType<[v.Type<"inspect">, v.UnionType<[v.ObjectType<Omit<{
    id: v.Type<string>;
}, "op" | "clientID"> & {
    op: v.Type<"queries">;
    clientID: v.Optional<string>;
}, undefined>, v.ObjectType<Omit<{
    id: v.Type<string>;
}, "op"> & {
    op: v.Type<"metrics">;
}, undefined>, v.ObjectType<Omit<{
    id: v.Type<string>;
}, "op"> & {
    op: v.Type<"version">;
}, undefined>, v.ObjectType<Omit<{
    id: v.Type<string>;
}, "op" | "value"> & {
    op: v.Type<"authenticate">;
    value: v.Type<string>;
}, undefined>, v.ObjectType<Omit<{
    id: v.Type<string>;
}, "op" | "value" | "name" | "args" | "ast" | "options"> & {
    op: v.Type<"analyze-query">;
    /** @deprecated Use {@linkcode ast} instead */
    value: v.Optional<import("./ast.ts").AST>;
    options: v.Optional<{
        vendedRows?: boolean | undefined;
        syncedRows?: boolean | undefined;
    }>;
    ast: v.Optional<import("./ast.ts").AST>;
    name: v.Optional<string>;
    args: v.Optional<readonly import("../../shared/src/json.ts").ReadonlyJSONValue[]>;
}, undefined>]>]>;
export type InspectUpMessage = v.Infer<typeof inspectUpMessageSchema>;
export type InspectUpBody = v.Infer<typeof inspectUpBodySchema>;
export {};
//# sourceMappingURL=inspect-up.d.ts.map