export declare function useServerMutation(name: string, callback: () => Promise): { mutate: () => void; data: T | undefined; };