export type RuntimeAndFunctionType = { readonly runtime: "Convex"; readonly functionType: "query"; } | { readonly runtime: "Convex"; readonly functionType: "mutation"; } | { readonly runtime: "Convex"; readonly functionType: "action"; } | { readonly runtime: "Node"; readonly functionType: "action"; }; export type Runtime = RuntimeAndFunctionType["runtime"]; export type AnyQuery = Extract; export type AnyMutation = Extract; export type AnyAction = Extract; export type WithRuntime = Extract; export type GetRuntime = RuntimeAndFunctionType_["runtime"]; export type GetFunctionType = RuntimeAndFunctionType_["functionType"]; export declare const ConvexQuery: { readonly runtime: "Convex"; readonly functionType: "query"; }; export type ConvexQuery = typeof ConvexQuery; export declare const ConvexMutation: { readonly runtime: "Convex"; readonly functionType: "mutation"; }; export type ConvexMutation = typeof ConvexMutation; export declare const ConvexAction: { readonly runtime: "Convex"; readonly functionType: "action"; }; export type ConvexAction = typeof ConvexAction; export declare const NodeAction: { readonly runtime: "Node"; readonly functionType: "action"; }; export type NodeAction = typeof NodeAction; //# sourceMappingURL=RuntimeAndFunctionType.d.ts.map