import type { EventCallable } from "effector"; import type { OperationVariables } from "@apollo/client"; type EmptyVariables = Record; export type Optional = Payload extends EmptyVariables ? void : Payload; export declare function optional(source: EventCallable): EventCallable>; export {};