import { type Store } from "effector"; import type { ApolloClient, Unmasked } from "@apollo/client"; import type { Mutation } from "./mutation.js"; interface OptimisticOptions { client?: ApolloClient | Store>; fn: (variables: Variables) => Unmasked; } export declare function optimistic(mutation: Mutation, { client, fn }: OptimisticOptions): void; export {};