import * as v from '../../shared/src/valita.ts';
export declare const putOpSchema: v.ObjectType<{
    op: v.Type<"put">;
    hash: v.Type<string>;
    ttl: v.Optional<number>;
}, undefined>;
export declare const upPutOpSchema: v.ObjectType<Omit<{
    op: v.Type<"put">;
    hash: v.Type<string>;
    ttl: v.Optional<number>;
}, "name" | "args" | "ast"> & {
    ast: v.Optional<import("./ast.ts").AST>;
    name: v.Optional<string>;
    args: v.Optional<readonly import("../../shared/src/json.ts").ReadonlyJSONValue[]>;
}, undefined>;
declare const delOpSchema: v.ObjectType<{
    op: v.Type<"del">;
    hash: v.Type<string>;
}, undefined>;
declare const clearOpSchema: v.ObjectType<{
    op: v.Type<"clear">;
}, undefined>;
declare const patchOpSchema: v.UnionType<[v.ObjectType<{
    op: v.Type<"put">;
    hash: v.Type<string>;
    ttl: v.Optional<number>;
}, undefined>, v.ObjectType<{
    op: v.Type<"del">;
    hash: v.Type<string>;
}, undefined>, v.ObjectType<{
    op: v.Type<"clear">;
}, undefined>]>;
declare const upPatchOpSchema: v.UnionType<[v.ObjectType<Omit<{
    op: v.Type<"put">;
    hash: v.Type<string>;
    ttl: v.Optional<number>;
}, "name" | "args" | "ast"> & {
    ast: v.Optional<import("./ast.ts").AST>;
    name: v.Optional<string>;
    args: v.Optional<readonly import("../../shared/src/json.ts").ReadonlyJSONValue[]>;
}, undefined>, v.ObjectType<{
    op: v.Type<"del">;
    hash: v.Type<string>;
}, undefined>, v.ObjectType<{
    op: v.Type<"clear">;
}, undefined>]>;
export declare const queriesPatchSchema: v.ArrayType<v.UnionType<[v.ObjectType<{
    op: v.Type<"put">;
    hash: v.Type<string>;
    ttl: v.Optional<number>;
}, undefined>, v.ObjectType<{
    op: v.Type<"del">;
    hash: v.Type<string>;
}, undefined>, v.ObjectType<{
    op: v.Type<"clear">;
}, undefined>]>>;
export declare const upQueriesPatchSchema: v.ArrayType<v.UnionType<[v.ObjectType<Omit<{
    op: v.Type<"put">;
    hash: v.Type<string>;
    ttl: v.Optional<number>;
}, "name" | "args" | "ast"> & {
    ast: v.Optional<import("./ast.ts").AST>;
    name: v.Optional<string>;
    args: v.Optional<readonly import("../../shared/src/json.ts").ReadonlyJSONValue[]>;
}, undefined>, v.ObjectType<{
    op: v.Type<"del">;
    hash: v.Type<string>;
}, undefined>, v.ObjectType<{
    op: v.Type<"clear">;
}, undefined>]>>;
export type QueriesPutOp = v.Infer<typeof putOpSchema>;
export type QueriesDelOp = v.Infer<typeof delOpSchema>;
export type QueriesClearOp = v.Infer<typeof clearOpSchema>;
export type QueriesPatchOp = v.Infer<typeof patchOpSchema>;
export type UpQueriesPatchOp = v.Infer<typeof upPatchOpSchema>;
export type QueriesPatch = v.Infer<typeof queriesPatchSchema>;
export type UpQueriesPatch = v.Infer<typeof upQueriesPatchSchema>;
export {};
//# sourceMappingURL=queries-patch.d.ts.map