import * as v from '../../shared/src/valita.ts';
export declare const rowCountsByQuerySchema: v.Type<Record<string, number>>;
export type RowCountsByQuery = v.Infer<typeof rowCountsByQuerySchema>;
export declare const rowCountsBySourceSchema: v.Type<Record<string, Record<string, number>>>;
export type RowCountsBySource = v.Infer<typeof rowCountsBySourceSchema>;
export declare const rowsByQuerySchema: v.Type<Record<string, Readonly<Record<string, import("../../shared/src/json.ts").ReadonlyJSONValue | undefined>>[]>>;
export type RowsByQuery = v.Infer<typeof rowsByQuerySchema>;
export declare const rowsBySourceSchema: v.Type<Record<string, Record<string, Readonly<Record<string, import("../../shared/src/json.ts").ReadonlyJSONValue | undefined>>[]>>>;
export type RowsBySource = v.Infer<typeof rowsBySourceSchema>;
export declare const analyzeQueryResultSchema: v.ObjectType<{
    warnings: v.ArrayType<v.Type<string>>;
    syncedRows: v.Optional<Record<string, Readonly<Record<string, import("../../shared/src/json.ts").ReadonlyJSONValue | undefined>>[]>>;
    syncedRowCount: v.Type<number>;
    start: v.Type<number>;
    /** @deprecated Use start + elapsed instead */
    end: v.Type<number>;
    elapsed: v.Optional<number>;
    afterPermissions: v.Optional<string>;
    /** @deprecated Use readRowCountsByQuery */
    vendedRowCounts: v.Optional<Record<string, Record<string, number>>>;
    /** @deprecated Use readRows */
    vendedRows: v.Optional<Record<string, Record<string, Readonly<Record<string, import("../../shared/src/json.ts").ReadonlyJSONValue | undefined>>[]>>>;
    plans: v.Optional<Record<string, string[]>>;
    readRows: v.Optional<Record<string, Record<string, Readonly<Record<string, import("../../shared/src/json.ts").ReadonlyJSONValue | undefined>>[]>>>;
    readRowCountsByQuery: v.Optional<Record<string, Record<string, number>>>;
    readRowCount: v.Optional<number>;
}, undefined>;
export type AnalyzeQueryResult = v.Infer<typeof analyzeQueryResultSchema>;
//# sourceMappingURL=analyze-query-result.d.ts.map